Skip to content

Generic Viridian (#007F66)

The hex code for Generic Viridian is #007F66. It is rgb(0, 127, 102) in RGB, hsl(168, 100%, 25%) in HSL, and about cmyk(100%, 0%, 20%, 50%) in CMYK — a dark green. White text is the more readable choice on this background.

#007F66
HEX#007F66
RGBrgb(0, 127, 102)
HSLhsl(168, 100%, 25%)
HSVhsv(168, 100%, 50%)
CMYKcmyk(100%, 0%, 20%, 50%)
OKLCHoklch(53.2% 0.102 172.6)
LABlab(47.00% -36.06 4.78)
LCHlch(47.00% 36.37 172.45)

Colors Closest to Generic Viridian

Generic Viridian is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every green in the library.

#007F66 Channel Values

How Generic Viridian breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 0 · G 127 · B 1028-bit channels as sent to the display
HSLH 168° · S 100% · L 25%Easiest model for building lighter and darker variants
HSVH 168° · S 100% · V 50%Matches the picker in most design tools
CMYKC 100% · M 0% · Y 20% · K 50%Approximate ink mix; confirm with an ICC profile before printing
Luminance4.97:1 vs white · 4.23:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Generic Viridian background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text4.97:1AA normal AA large AAA normal
TextBlack text4.23:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #007F66 in the contrast checker.

Colors That Go With Generic Viridian

Pairings derived from color-wheel relationships. The complementary color sits opposite Generic Viridian; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Generic Viridian

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #007F66.

How Generic Viridian Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#007F66
Protanopia#747466
Protanomaly#5B7966
Deuteranopia#696968
Deuteranomaly#527367
Tritanopia#1A7C7C
Tritanomaly#127D74
Achromatopsia#707070

Test a full palette in the color blindness simulator.

Using #007F66 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--generic-viridian: #007F66;
CSS backgroundbackground-color: #007F66;
Tailwind configcolors: { 'generic-viridian': '#007F66' }
SwiftUIColor(red: 0.000, green: 0.498, blue: 0.400)
Android XML<color name="generic_viridian">#007F66</color>
SVG fillfill="#007F66"

More Green Colors

Generic Viridian sits in the greenfamily. These are its neighbours across that family's full range, each with its own breakdown.

#007F66 Frequently Asked Questions

What is the hex code for Generic Viridian?

The hex code for Generic Viridian is #007F66. That is rgb(0, 127, 102) in RGB, hsl(168, 100%, 25%) in HSL, and approximately cmyk(100%, 0%, 20%, 50%) in CMYK.

What is the RGB value of #007F66?

#007F66 is rgb(0, 127, 102) — red 0, green 127, and blue 102 on the 0-255 scale.

What is the CMYK value of #007F66?

#007F66 converts to approximately cmyk(100%, 0%, 20%, 50%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #007F66 be black or white?

White text is the more readable choice. #007F66 scores 4.97:1 against white and 4.23:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #007F66 as a CSS color keyword?

No. #007F66 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is teal (#008080) at a CIE76 distance of 14.91, which is visibly different.

Open Generic Viridian in a Tool

Keep exploring: every green in the color library, the guide to shades of green, or the full color library.