#2F731F#2F731F
#2F731F is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.3% C 0.136 H 140.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2F731F |
|---|---|
| RGB | rgb(47, 115, 31) |
| HSL | hsl(109, 58%, 29%) |
| HSV | hsv(109, 73%, 45%) |
| CMYK | cmyk(59.1%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.71, -38.12, 38.24) |
| CIE-LCH | lch(42.71, 54.00, 134.91°) |
| OKLab | oklab(49.35% -0.1045 0.0871) |
| OKLCH | oklch(49.35% 0.136 140.2) |
| XYZ | xyz(7.5500, 12.9641, 3.4005) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.08
Darkish Green
#287C37
ΔE00 4.82
Green
#008000
ΔE00 5.74
Dark Grass Green
#388004
ΔE00 5.94
Darkgreen
#006400
ΔE00 5.97
Darkolivegreen
#556B2F
ΔE00 8.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F731F #631F73
analogous
#59731F #2F731F #1F7339
triadic
#2F731F #1F2F73 #731F2F
tetradic
#2F731F #1F5973 #631F73 #73391F
square
#2F731F #1F5973 #631F73 #73391F
split-complementary
#2F731F #391F73 #731F59
monochromatic
#0A1806 #1B4312 #2F731F #43A32C #5BCC41
Accessibility & contrast
On white
5.84
#2F731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F731F
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F731F | 1.00 | 5.84 | 3.59 | 5.84 |
| #FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766812
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#276F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f731f; /* rgb */ color: rgb(47, 115, 31); /* oklch */ color: oklch(49.3% 0.136 140.2);
Tailwind
colors: {
custom: {
50: '#709c60',
500: '#2f731f',
950: '#000000',
},
}SCSS
$custom: #2f731f; $custom-light: #709c60; $custom-dark: #000000;
JSON
{
"hex": "#2f731f",
"rgb": {
"r": 47,
"g": 115,
"b": 31
},
"hsl": {
"h": 108.571,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49345,
"c": 0.1361,
"h": 140.2
},
"luminance": 0.12965
}Semantic roles & 50–950 ramp
primary
#2F731F
secondary
#9547A7
accent
#47E1C3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79