#2F7429#2F7429
#2F7429 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.130 H 142.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7429 |
|---|---|
| RGB | rgb(47, 116, 41) |
| HSL | hsl(115, 48%, 31%) |
| HSV | hsv(115, 65%, 45%) |
| CMYK | cmyk(59.5%, 0%, 64.7%, 54.5%) |
| CIE-LAB | lab(43.14, -37.49, 34.16) |
| CIE-LCH | lch(43.14, 50.72, 137.66°) |
| OKLab | oklab(49.73% -0.1022 0.0798) |
| OKLCH | oklch(49.73% 0.13 142) |
| XYZ | xyz(7.8175, 13.2545, 4.2438) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.52
Tree Green
#2A7E19
ΔE00 4.58
Green
#008000
ΔE00 6.38
Darkgreen
#006400
ΔE00 6.71
Dark Grass Green
#388004
ΔE00 6.81
Jungle Green
#048243
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7429 #6E2974
analogous
#547429 #2F7429 #297448
triadic
#2F7429 #292F74 #74292F
tetradic
#2F7429 #295474 #6E2974 #744829
square
#2F7429 #295474 #6E2974 #744829
split-complementary
#2F7429 #482974 #742954
monochromatic
#0A1A09 #1D4719 #2F7429 #41A139 #5DC355
Accessibility & contrast
On white
5.75
#2F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#2F7429 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7429
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7429 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7429 | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776A20
Deuteranopia (green-blind)
#6E642F
Tritanopia (blue-blind)
#257164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7429; /* rgb */ color: rgb(47, 116, 41); /* oklch */ color: oklch(49.7% 0.130 142.0);
Tailwind
colors: {
custom: {
50: '#6f9d66',
500: '#2f7429',
950: '#000000',
},
}SCSS
$custom: #2f7429; $custom-light: #6f9d66; $custom-dark: #000000;
JSON
{
"hex": "#2f7429",
"rgb": {
"r": 47,
"g": 116,
"b": 41
},
"hsl": {
"h": 115.2,
"s": 47.771,
"l": 30.784
},
"oklch": {
"l": 0.49734,
"c": 0.12963,
"h": 142
},
"luminance": 0.13255
}Semantic roles & 50–950 ramp
primary
#2F7429
secondary
#9F53A6
accent
#50D7CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A