#2F731B#2F731B
#2F731B is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.139 H 139.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F731B |
|---|---|
| RGB | rgb(47, 115, 27) |
| HSL | hsl(106, 62%, 28%) |
| HSV | hsv(106, 77%, 45%) |
| CMYK | cmyk(59.1%, 0%, 76.5%, 54.9%) |
| CIE-LAB | lab(42.68, -38.46, 39.84) |
| CIE-LCH | lch(42.68, 55.38, 133.99°) |
| OKLab | oklab(49.31% -0.1057 0.0899) |
| OKLCH | oklch(49.31% 0.139 139.6) |
| XYZ | xyz(7.5005, 12.9443, 3.1399) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.92
Darkish Green
#287C37
ΔE00 5.27
Green
#008000
ΔE00 5.50
Dark Grass Green
#388004
ΔE00 5.59
Darkgreen
#006400
ΔE00 5.89
Darkolivegreen
#556B2F
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F731B #5F1B73
analogous
#5B731B #2F731B #1B7333
triadic
#2F731B #1B2F73 #731B2F
tetradic
#2F731B #1B5B73 #5F1B73 #73331B
square
#2F731B #1B5B73 #5F1B73 #73331B
split-complementary
#2F731B #331B73 #731B5B
monochromatic
#0A1906 #1B410F #2F731B #43A527 #5BD038
Accessibility & contrast
On white
5.85
#2F731B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F731B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F731B
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F731B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F731B | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76680A
Deuteranopia (green-blind)
#6E6324
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f731b; /* rgb */ color: rgb(47, 115, 27); /* oklch */ color: oklch(49.3% 0.139 139.6);
Tailwind
colors: {
custom: {
50: '#709c5e',
500: '#2f731b',
950: '#000000',
},
}SCSS
$custom: #2f731b; $custom-light: #709c5e; $custom-dark: #000000;
JSON
{
"hex": "#2f731b",
"rgb": {
"r": 47,
"g": 115,
"b": 27
},
"hsl": {
"h": 106.364,
"s": 61.972,
"l": 27.843
},
"oklch": {
"l": 0.49311,
"c": 0.13878,
"h": 139.6
},
"luminance": 0.12945
}Semantic roles & 50–950 ramp
primary
#2F731B
secondary
#9142A8
accent
#43E5C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79