#2F7427#2F7427
#2F7427 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.131 H 141.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7427 |
|---|---|
| RGB | rgb(47, 116, 39) |
| HSL | hsl(114, 50%, 30%) |
| HSV | hsv(114, 66%, 45%) |
| CMYK | cmyk(59.5%, 0%, 66.4%, 54.5%) |
| CIE-LAB | lab(43.12, -37.72, 35.10) |
| CIE-LCH | lch(43.12, 51.52, 137.06°) |
| OKLab | oklab(49.71% -0.1029 0.0815) |
| OKLCH | oklch(49.71% 0.131 141.6) |
| XYZ | xyz(7.7835, 13.2409, 4.0646) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.73
Tree Green
#2A7E19
ΔE00 4.36
Green
#008000
ΔE00 6.15
Dark Grass Green
#388004
ΔE00 6.54
Darkgreen
#006400
ΔE00 6.57
Jungle Green
#048243
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7427 #6C2774
analogous
#557427 #2F7427 #277445
triadic
#2F7427 #272F74 #74272F
tetradic
#2F7427 #275574 #6C2774 #744527
square
#2F7427 #275574 #6C2774 #744527
split-complementary
#2F7427 #452774 #742755
monochromatic
#0A1808 #1C4618 #2F7427 #42A236 #5DC451
Accessibility & contrast
On white
5.76
#2F7427 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#2F7427 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7427
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7427 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7427 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77691E
Deuteranopia (green-blind)
#6E642E
Tritanopia (blue-blind)
#257064
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7427; /* rgb */ color: rgb(47, 116, 39); /* oklch */ color: oklch(49.7% 0.131 141.6);
Tailwind
colors: {
custom: {
50: '#6f9d65',
500: '#2f7427',
950: '#000000',
},
}SCSS
$custom: #2f7427; $custom-light: #6f9d65; $custom-dark: #000000;
JSON
{
"hex": "#2f7427",
"rgb": {
"r": 47,
"g": 116,
"b": 39
},
"hsl": {
"h": 113.766,
"s": 49.677,
"l": 30.392
},
"oklch": {
"l": 0.4971,
"c": 0.13131,
"h": 141.6
},
"luminance": 0.13242
}Semantic roles & 50–950 ramp
primary
#2F7427
secondary
#9D50A6
accent
#4FD9CB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A