#2C7F10#2C7F10
#2C7F10 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.160 H 139.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F10 |
|---|---|
| RGB | rgb(44, 127, 16) |
| HSL | hsl(105, 78%, 28%) |
| HSV | hsv(105, 87%, 50%) |
| CMYK | cmyk(65.4%, 0%, 87.4%, 50.2%) |
| CIE-LAB | lab(46.65, -44.51, 47.13) |
| CIE-LCH | lch(46.65, 64.83, 133.36°) |
| OKLab | oklab(52.54% -0.1224 0.1036) |
| OKLCH | oklch(52.54% 0.16 139.8) |
| XYZ | xyz(8.7212, 15.7508, 3.0707) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.09
Dark Grass Green
#388004
ΔE00 1.91
Green
#008000
ΔE00 2.22
Forestgreen (CSS)
#228B22
ΔE00 4.52
Emerald Green
#028F1E
ΔE00 5.94
Darkish Green
#287C37
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F10 #63107F
analogous
#637F10 #2C7F10 #107F2C
triadic
#2C7F10 #102C7F #7F102C
tetradic
#2C7F10 #10637F #63107F #7F2C10
square
#2C7F10 #10637F #63107F #7F2C10
split-complementary
#2C7F10 #2C107F #7F1063
monochromatic
#091B03 #194909 #2C7F10 #3FB517 #56E426
Accessibility & contrast
On white
5.06
#2C7F10 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#2C7F10 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F10
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F10 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F10 | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#207A6B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f10; /* rgb */ color: rgb(44, 127, 16); /* oklch */ color: oklch(52.5% 0.160 139.8);
Tailwind
colors: {
custom: {
50: '#71a55b',
500: '#2c7f10',
950: '#000000',
},
}SCSS
$custom: #2c7f10; $custom-light: #71a55b; $custom-dark: #000000;
JSON
{
"hex": "#2c7f10",
"rgb": {
"r": 44,
"g": 127,
"b": 16
},
"hsl": {
"h": 104.865,
"s": 77.622,
"l": 28.039
},
"oklch": {
"l": 0.52545,
"c": 0.16032,
"h": 139.8
},
"luminance": 0.15752
}Semantic roles & 50–950 ramp
primary
#2C7F10
secondary
#9536B5
accent
#34F4C4
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79