#2F7422#2F7422
#2F7422 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.135 H 140.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7422 |
|---|---|
| RGB | rgb(47, 116, 34) |
| HSL | hsl(110, 55%, 29%) |
| HSV | hsv(110, 71%, 45%) |
| CMYK | cmyk(59.5%, 0%, 70.7%, 54.5%) |
| CIE-LAB | lab(43.08, -38.24, 37.33) |
| CIE-LCH | lch(43.08, 53.44, 135.69°) |
| OKLab | oklab(49.66% -0.1047 0.0856) |
| OKLCH | oklch(49.66% 0.135 140.7) |
| XYZ | xyz(7.7061, 13.2099, 3.6568) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.92
Darkish Green
#287C37
ΔE00 4.32
Green
#008000
ΔE00 5.66
Dark Grass Green
#388004
ΔE00 5.94
Darkgreen
#006400
ΔE00 6.32
Jungle Green
#048243
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7422 #672274
analogous
#587422 #2F7422 #22743E
triadic
#2F7422 #222F74 #74222F
tetradic
#2F7422 #225874 #672274 #743E22
square
#2F7422 #225874 #672274 #743E22
split-complementary
#2F7422 #3E2274 #742258
monochromatic
#0A1807 #1C4514 #2F7422 #42A330 #5CC947
Accessibility & contrast
On white
5.77
#2F7422 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2F7422 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7422
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7422 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7422 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#6E642A
Tritanopia (blue-blind)
#267063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7422; /* rgb */ color: rgb(47, 116, 34); /* oklch */ color: oklch(49.7% 0.135 140.7);
Tailwind
colors: {
custom: {
50: '#709d62',
500: '#2f7422',
950: '#000000',
},
}SCSS
$custom: #2f7422; $custom-light: #709d62; $custom-dark: #000000;
JSON
{
"hex": "#2f7422",
"rgb": {
"r": 47,
"g": 116,
"b": 34
},
"hsl": {
"h": 110.488,
"s": 54.667,
"l": 29.412
},
"oklch": {
"l": 0.49658,
"c": 0.13523,
"h": 140.7
},
"luminance": 0.13211
}Semantic roles & 50–950 ramp
primary
#2F7422
secondary
#984BA7
accent
#4ADEC7
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79