#2E862A#2E862A
#2E862A is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.153 H 142.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2E862A |
|---|---|
| RGB | rgb(46, 134, 42) |
| HSL | hsl(117, 52%, 35%) |
| HSV | hsv(117, 69%, 53%) |
| CMYK | cmyk(65.7%, 0%, 68.7%, 47.5%) |
| CIE-LAB | lab(49.25, -44.66, 40.43) |
| CIE-LCH | lch(49.25, 60.24, 137.85°) |
| OKLab | oklab(54.77% -0.1215 0.0932) |
| OKLCH | oklch(54.77% 0.153 142.5) |
| XYZ | xyz(10.0692, 17.7972, 5.0946) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.20
Tree Green
#2A7E19
ΔE00 3.26
Emerald Green
#028F1E
ΔE00 3.82
Green
#008000
ΔE00 4.27
Dark Grass Green
#388004
ΔE00 4.57
Darkish Green
#287C37
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E862A #822A86
analogous
#5C862A #2E862A #2A8654
triadic
#2E862A #2A2E86 #862A2E
tetradic
#2E862A #2A5C86 #822A86 #86542A
square
#2E862A #2A5C86 #822A86 #86542A
split-complementary
#2E862A #542A86 #862A5C
monochromatic
#0E290D #1E571B #2E862A #3EB539 #63CD5E
Accessibility & contrast
On white
4.61
#2E862A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#2E862A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2E862A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E862A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E862A | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#89791E
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#1C8273
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2e862a; /* rgb */ color: rgb(46, 134, 42); /* oklch */ color: oklch(54.8% 0.153 142.5);
Tailwind
colors: {
custom: {
50: '#73aa68',
500: '#2e862a',
950: '#000000',
},
}SCSS
$custom: #2e862a; $custom-light: #73aa68; $custom-dark: #000000;
JSON
{
"hex": "#2e862a",
"rgb": {
"r": 46,
"g": 134,
"b": 42
},
"hsl": {
"h": 117.391,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.54769,
"c": 0.15312,
"h": 142.5
},
"luminance": 0.17798
}Semantic roles & 50–950 ramp
primary
#2E862A
secondary
#AE5AB2
accent
#4CDCD5
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A