#2E731F#2E731F
#2E731F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.3% C 0.137 H 140.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2E731F |
|---|---|
| RGB | rgb(46, 115, 31) |
| HSL | hsl(109, 58%, 29%) |
| HSV | hsv(109, 73%, 45%) |
| CMYK | cmyk(60%, 0%, 73%, 54.9%) |
| CIE-LAB | lab(42.67, -38.40, 38.19) |
| CIE-LCH | lch(42.67, 54.16, 135.16°) |
| OKLab | oklab(49.31% -0.1052 0.0871) |
| OKLCH | oklch(49.31% 0.137 140.4) |
| XYZ | xyz(7.5044, 12.9406, 3.3984) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.08
Darkish Green
#287C37
ΔE00 4.77
Green
#008000
ΔE00 5.71
Darkgreen
#006400
ΔE00 5.91
Dark Grass Green
#388004
ΔE00 5.99
Jungle Green
#048243
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E731F #641F73
analogous
#58731F #2E731F #1F733A
triadic
#2E731F #1F2E73 #731F2E
tetradic
#2E731F #1F5873 #641F73 #733A1F
square
#2E731F #1F5873 #641F73 #733A1F
split-complementary
#2E731F #3A1F73 #731F58
monochromatic
#0A1806 #1B4312 #2E731F #41A32C #5ACC41
Accessibility & contrast
On white
5.85
#2E731F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2E731F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E731F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E731F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E731F | 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)
#766812
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#256F62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2e731f; /* rgb */ color: rgb(46, 115, 31); /* oklch */ color: oklch(49.3% 0.137 140.4);
Tailwind
colors: {
custom: {
50: '#6f9c60',
500: '#2e731f',
950: '#000000',
},
}SCSS
$custom: #2e731f; $custom-light: #6f9c60; $custom-dark: #000000;
JSON
{
"hex": "#2e731f",
"rgb": {
"r": 46,
"g": 115,
"b": 31
},
"hsl": {
"h": 109.286,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49306,
"c": 0.13657,
"h": 140.4
},
"luminance": 0.12941
}Semantic roles & 50–950 ramp
primary
#2E731F
secondary
#9647A7
accent
#47E1C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79