#2F7431#2F7431
#2F7431 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.122 H 144.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7431 |
|---|---|
| RGB | rgb(47, 116, 49) |
| HSL | hsl(122, 42%, 32%) |
| HSV | hsv(122, 59%, 45%) |
| CMYK | cmyk(59.5%, 0%, 57.8%, 54.5%) |
| CIE-LAB | lab(43.24, -36.46, 30.25) |
| CIE-LCH | lch(43.24, 47.38, 140.32°) |
| OKLab | oklab(49.84% -0.099 0.0721) |
| OKLCH | oklch(49.84% 0.122 144) |
| XYZ | xyz(7.9716, 13.3162, 5.0553) |
| Luminance | 0.1332 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.92
Tree Green
#2A7E19
ΔE00 5.71
Jungle Green
#048243
ΔE00 6.10
Darkgreen
#006400
ΔE00 7.47
Green
#008000
ΔE00 7.48
Dark Grass Green
#388004
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7431 #742F72
analogous
#50742F #2F7431 #2F7454
triadic
#2F7431 #312F74 #74312F
tetradic
#2F7431 #2F5074 #742F72 #74542F
square
#2F7431 #2F5074 #742F72 #74542F
split-complementary
#2F7431 #542F74 #742F50
monochromatic
#0C1D0C #1D481F #2F7431 #41A043 #5FBE62
Accessibility & contrast
On white
5.73
#2F7431 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2F7431 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7431
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7431 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7431 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766A2B
Deuteranopia (green-blind)
#6D6436
Tritanopia (blue-blind)
#237165
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f7431; /* rgb */ color: rgb(47, 116, 49); /* oklch */ color: oklch(49.8% 0.122 144.0);
Tailwind
colors: {
custom: {
50: '#6f9d6b',
500: '#2f7431',
950: '#000000',
},
}SCSS
$custom: #2f7431; $custom-light: #6f9d6b; $custom-dark: #000000;
JSON
{
"hex": "#2f7431",
"rgb": {
"r": 47,
"g": 116,
"b": 49
},
"hsl": {
"h": 121.739,
"s": 42.331,
"l": 31.961
},
"oklch": {
"l": 0.49839,
"c": 0.12244,
"h": 144
},
"luminance": 0.13317
}Semantic roles & 50–950 ramp
primary
#2F7431
secondary
#A55AA3
accent
#56CFD2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A