#2F7428#2F7428
#2F7428 is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.7% C 0.130 H 141.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7428 |
|---|---|
| RGB | rgb(47, 116, 40) |
| HSL | hsl(114, 49%, 31%) |
| HSV | hsv(114, 66%, 45%) |
| CMYK | cmyk(59.5%, 0%, 65.5%, 54.5%) |
| CIE-LAB | lab(43.13, -37.60, 34.63) |
| CIE-LCH | lch(43.13, 51.12, 137.36°) |
| OKLab | oklab(49.72% -0.1026 0.0807) |
| OKLCH | oklch(49.72% 0.13 141.8) |
| XYZ | xyz(7.8003, 13.2476, 4.1531) |
| Luminance | 0.1325 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.62
Tree Green
#2A7E19
ΔE00 4.47
Green
#008000
ΔE00 6.26
Darkgreen
#006400
ΔE00 6.63
Dark Grass Green
#388004
ΔE00 6.68
Jungle Green
#048243
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7428 #6D2874
analogous
#557428 #2F7428 #287447
triadic
#2F7428 #282F74 #74282F
tetradic
#2F7428 #285574 #6D2874 #744728
square
#2F7428 #285574 #6D2874 #744728
split-complementary
#2F7428 #472874 #742855
monochromatic
#0A1909 #1D4618 #2F7428 #41A238 #5DC453
Accessibility & contrast
On white
5.75
#2F7428 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#2F7428 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7428
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7428 | 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)
#77691F
Deuteranopia (green-blind)
#6E642E
Tritanopia (blue-blind)
#257064
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7428; /* rgb */ color: rgb(47, 116, 40); /* oklch */ color: oklch(49.7% 0.130 141.8);
Tailwind
colors: {
custom: {
50: '#6f9d65',
500: '#2f7428',
950: '#000000',
},
}SCSS
$custom: #2f7428; $custom-light: #6f9d65; $custom-dark: #000000;
JSON
{
"hex": "#2f7428",
"rgb": {
"r": 47,
"g": 116,
"b": 40
},
"hsl": {
"h": 114.474,
"s": 48.718,
"l": 30.588
},
"oklch": {
"l": 0.49722,
"c": 0.13048,
"h": 141.8
},
"luminance": 0.13248
}Semantic roles & 50–950 ramp
primary
#2F7428
secondary
#9E52A6
accent
#50D8CC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A