#2E7310#2E7310
#2E7310 is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.2% C 0.145 H 138.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7310 |
|---|---|
| RGB | rgb(46, 115, 16) |
| HSL | hsl(102, 76%, 26%) |
| HSV | hsv(102, 86%, 45%) |
| CMYK | cmyk(60%, 0%, 86.1%, 54.9%) |
| CIE-LAB | lab(42.58, -39.48, 43.49) |
| CIE-LCH | lch(42.58, 58.74, 132.23°) |
| OKLab | oklab(49.2% -0.109 0.0959) |
| OKLCH | oklch(49.2% 0.145 138.7) |
| XYZ | xyz(7.3507, 12.8791, 2.5887) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.85
Dark Grass Green
#388004
ΔE00 5.01
Green
#008000
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.86
Darkish Green
#287C37
ΔE00 6.30
Forestgreen (CSS)
#228B22
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7310 #551073
analogous
#5F7310 #2E7310 #107323
triadic
#2E7310 #102E73 #73102E
tetradic
#2E7310 #105F73 #551073 #732310
square
#2E7310 #105F73 #551073 #732310
split-complementary
#2E7310 #231073 #73105F
monochromatic
#0B1B04 #193D09 #2E7310 #43A917 #59DE1F
Accessibility & contrast
On white
5.87
#2E7310 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#2E7310 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7310
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7310 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7310 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621D
Tritanopia (blue-blind)
#276F61
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2e7310; /* rgb */ color: rgb(46, 115, 16); /* oklch */ color: oklch(49.2% 0.145 138.7);
Tailwind
colors: {
custom: {
50: '#709c59',
500: '#2e7310',
950: '#000000',
},
}SCSS
$custom: #2e7310; $custom-light: #709c59; $custom-dark: #000000;
JSON
{
"hex": "#2e7310",
"rgb": {
"r": 46,
"g": 115,
"b": 16
},
"hsl": {
"h": 101.818,
"s": 75.573,
"l": 25.686
},
"oklch": {
"l": 0.492,
"c": 0.14518,
"h": 138.7
},
"luminance": 0.1288
}Semantic roles & 50–950 ramp
primary
#2E7310
secondary
#8734AA
accent
#36F2B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79