#2C7F16#2C7F16
#2C7F16 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.158 H 140.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F16 |
|---|---|
| RGB | rgb(44, 127, 22) |
| HSL | hsl(107, 70%, 29%) |
| HSV | hsv(107, 83%, 50%) |
| CMYK | cmyk(65.4%, 0%, 82.7%, 50.2%) |
| CIE-LAB | lab(46.67, -44.18, 45.44) |
| CIE-LCH | lch(46.67, 63.38, 134.19°) |
| OKLab | oklab(52.58% -0.1212 0.1009) |
| OKLCH | oklch(52.58% 0.158 140.2) |
| XYZ | xyz(8.7725, 15.7713, 3.3408) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.61
Green
#008000
ΔE00 2.32
Dark Grass Green
#388004
ΔE00 2.35
Forestgreen (CSS)
#228B22
ΔE00 4.37
Darkish Green
#287C37
ΔE00 5.56
Emerald Green
#028F1E
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F16 #69167F
analogous
#617F16 #2C7F16 #167F35
triadic
#2C7F16 #162C7F #7F162C
tetradic
#2C7F16 #16617F #69167F #7F3516
square
#2C7F16 #16617F #69167F #7F3516
split-complementary
#2C7F16 #35167F #7F1661
monochromatic
#091A05 #1A4B0D #2C7F16 #3EB31F #57DC34
Accessibility & contrast
On white
5.05
#2C7F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2C7F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F16
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F16 | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f16; /* rgb */ color: rgb(44, 127, 22); /* oklch */ color: oklch(52.6% 0.158 140.2);
Tailwind
colors: {
custom: {
50: '#71a55d',
500: '#2c7f16',
950: '#000000',
},
}SCSS
$custom: #2c7f16; $custom-light: #71a55d; $custom-dark: #000000;
JSON
{
"hex": "#2c7f16",
"rgb": {
"r": 44,
"g": 127,
"b": 22
},
"hsl": {
"h": 107.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.52576,
"c": 0.15771,
"h": 140.2
},
"luminance": 0.15772
}Semantic roles & 50–950 ramp
primary
#2C7F16
secondary
#9B3DB4
accent
#3BEDC8
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79