#2F7420#2F7420
#2F7420 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.137 H 140.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7420 |
|---|---|
| RGB | rgb(47, 116, 32) |
| HSL | hsl(109, 57%, 29%) |
| HSV | hsv(109, 72%, 45%) |
| CMYK | cmyk(59.5%, 0%, 72.4%, 54.5%) |
| CIE-LAB | lab(43.06, -38.43, 38.18) |
| CIE-LCH | lch(43.06, 54.17, 135.19°) |
| OKLab | oklab(49.64% -0.1053 0.0872) |
| OKLCH | oklch(49.64% 0.137 140.4) |
| XYZ | xyz(7.6780, 13.1987, 3.5092) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.79
Darkish Green
#287C37
ΔE00 4.55
Green
#008000
ΔE00 5.50
Dark Grass Green
#388004
ΔE00 5.73
Darkgreen
#006400
ΔE00 6.25
Jungle Green
#048243
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7420 #652074
analogous
#597420 #2F7420 #20743B
triadic
#2F7420 #202F74 #74202F
tetradic
#2F7420 #205974 #652074 #743B20
square
#2F7420 #205974 #652074 #743B20
split-complementary
#2F7420 #3B2074 #742059
monochromatic
#0A1807 #1C4413 #2F7420 #42A42D #5BCB43
Accessibility & contrast
On white
5.77
#2F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2F7420 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7420
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7420 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7420 | 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)
#776913
Deuteranopia (green-blind)
#6F6328
Tritanopia (blue-blind)
#267063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7420; /* rgb */ color: rgb(47, 116, 32); /* oklch */ color: oklch(49.6% 0.137 140.4);
Tailwind
colors: {
custom: {
50: '#709d61',
500: '#2f7420',
950: '#000000',
},
}SCSS
$custom: #2f7420; $custom-light: #709d61; $custom-dark: #000000;
JSON
{
"hex": "#2f7420",
"rgb": {
"r": 47,
"g": 116,
"b": 32
},
"hsl": {
"h": 109.286,
"s": 56.757,
"l": 29.02
},
"oklch": {
"l": 0.49638,
"c": 0.1367,
"h": 140.4
},
"luminance": 0.13199
}Semantic roles & 50–950 ramp
primary
#2F7420
secondary
#9748A8
accent
#48E0C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79