#2F7520#2F7520
#2F7520 is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.138 H 140.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7520 |
|---|---|
| RGB | rgb(47, 117, 32) |
| HSL | hsl(109, 57%, 29%) |
| HSV | hsv(109, 73%, 46%) |
| CMYK | cmyk(59.8%, 0%, 72.6%, 54.1%) |
| CIE-LAB | lab(43.40, -38.83, 38.54) |
| CIE-LCH | lch(43.40, 54.71, 135.21°) |
| OKLab | oklab(49.92% -0.1064 0.0879) |
| OKLCH | oklch(49.92% 0.138 140.4) |
| XYZ | xyz(7.7939, 13.4305, 3.5479) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.44
Darkish Green
#287C37
ΔE00 4.42
Green
#008000
ΔE00 5.21
Dark Grass Green
#388004
ΔE00 5.43
Darkgreen
#006400
ΔE00 6.52
Jungle Green
#048243
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7520 #662075
analogous
#5A7520 #2F7520 #20753C
triadic
#2F7520 #202F75 #75202F
tetradic
#2F7520 #205A75 #662075 #753C20
square
#2F7520 #205A75 #662075 #753C20
split-complementary
#2F7520 #3C2075 #75205A
monochromatic
#0A1807 #1C4513 #2F7520 #42A52D #5CCC44
Accessibility & contrast
On white
5.70
#2F7520 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2F7520 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7520
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7520 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7520; /* rgb */ color: rgb(47, 117, 32); /* oklch */ color: oklch(49.9% 0.138 140.4);
Tailwind
colors: {
custom: {
50: '#709d61',
500: '#2f7520',
950: '#000000',
},
}SCSS
$custom: #2f7520; $custom-light: #709d61; $custom-dark: #000000;
JSON
{
"hex": "#2f7520",
"rgb": {
"r": 47,
"g": 117,
"b": 32
},
"hsl": {
"h": 109.412,
"s": 57.047,
"l": 29.216
},
"oklch": {
"l": 0.49922,
"c": 0.13801,
"h": 140.4
},
"luminance": 0.13431
}Semantic roles & 50–950 ramp
primary
#2F7520
secondary
#9848A8
accent
#47E0C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79