#2E7529#2E7529
#2E7529 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.131 H 142.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2E7529 |
|---|---|
| RGB | rgb(46, 117, 41) |
| HSL | hsl(116, 48%, 31%) |
| HSV | hsv(116, 65%, 46%) |
| CMYK | cmyk(60.7%, 0%, 65%, 54.1%) |
| CIE-LAB | lab(43.45, -38.17, 34.50) |
| CIE-LCH | lch(43.45, 51.45, 137.89°) |
| OKLab | oklab(49.98% -0.104 0.0805) |
| OKLCH | oklch(49.98% 0.131 142.3) |
| XYZ | xyz(7.8878, 13.4628, 4.2803) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.26
Tree Green
#2A7E19
ΔE00 4.28
Green
#008000
ΔE00 6.07
Dark Grass Green
#388004
ΔE00 6.59
Jungle Green
#048243
ΔE00 6.69
Darkgreen
#006400
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E7529 #702975
analogous
#547529 #2E7529 #29754A
triadic
#2E7529 #292E75 #75292E
tetradic
#2E7529 #295475 #702975 #754A29
square
#2E7529 #295475 #702975 #754A29
split-complementary
#2E7529 #4A2975 #752954
monochromatic
#0A1A09 #1C4819 #2E7529 #40A239 #5CC355
Accessibility & contrast
On white
5.69
#2E7529 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2E7529 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E7529
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E7529 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E7529 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A20
Deuteranopia (green-blind)
#6F642F
Tritanopia (blue-blind)
#237265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2e7529; /* rgb */ color: rgb(46, 117, 41); /* oklch */ color: oklch(50.0% 0.131 142.3);
Tailwind
colors: {
custom: {
50: '#6f9d66',
500: '#2e7529',
950: '#000000',
},
}SCSS
$custom: #2e7529; $custom-light: #6f9d66; $custom-dark: #000000;
JSON
{
"hex": "#2e7529",
"rgb": {
"r": 46,
"g": 117,
"b": 41
},
"hsl": {
"h": 116.053,
"s": 48.101,
"l": 30.98
},
"oklch": {
"l": 0.49978,
"c": 0.13149,
"h": 142.3
},
"luminance": 0.13464
}Semantic roles & 50–950 ramp
primary
#2E7529
secondary
#A153A7
accent
#50D8CF
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A