#2F7622#2F7622
#2F7622 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.138 H 140.8°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7622 |
|---|---|
| RGB | rgb(47, 118, 34) |
| HSL | hsl(111, 55%, 30%) |
| HSV | hsv(111, 71%, 46%) |
| CMYK | cmyk(60.2%, 0%, 71.2%, 53.7%) |
| CIE-LAB | lab(43.76, -39.04, 38.06) |
| CIE-LCH | lch(43.76, 54.52, 135.73°) |
| OKLab | oklab(50.22% -0.1068 0.0872) |
| OKLCH | oklch(50.22% 0.138 140.8) |
| XYZ | xyz(7.9391, 13.6760, 3.7344) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.24
Darkish Green
#287C37
ΔE00 4.05
Green
#008000
ΔE00 5.08
Dark Grass Green
#388004
ΔE00 5.36
Darkgreen
#006400
ΔE00 6.84
Jungle Green
#048243
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7622 #692276
analogous
#597622 #2F7622 #22763F
triadic
#2F7622 #222F76 #76222F
tetradic
#2F7622 #225976 #692276 #763F22
square
#2F7622 #225976 #692276 #763F22
split-complementary
#2F7622 #3F2276 #762259
monochromatic
#091807 #1C4614 #2F7622 #42A630 #5CCA48
Accessibility & contrast
On white
5.62
#2F7622 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#2F7622 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7622
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7622 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7622 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B16
Deuteranopia (green-blind)
#70652A
Tritanopia (blue-blind)
#257265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7622; /* rgb */ color: rgb(47, 118, 34); /* oklch */ color: oklch(50.2% 0.138 140.8);
Tailwind
colors: {
custom: {
50: '#709e62',
500: '#2f7622',
950: '#000000',
},
}SCSS
$custom: #2f7622; $custom-light: #709e62; $custom-dark: #000000;
JSON
{
"hex": "#2f7622",
"rgb": {
"r": 47,
"g": 118,
"b": 34
},
"hsl": {
"h": 110.714,
"s": 55.263,
"l": 29.804
},
"oklch": {
"l": 0.50224,
"c": 0.13788,
"h": 140.8
},
"luminance": 0.13677
}Semantic roles & 50–950 ramp
primary
#2F7622
secondary
#9A4BA9
accent
#49DFC7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E05
muted
#7B7E7A