#2E862F#2E862F
#2E862F is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.8% C 0.149 H 143.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2E862F |
|---|---|
| RGB | rgb(46, 134, 47) |
| HSL | hsl(121, 49%, 35%) |
| HSV | hsv(121, 66%, 53%) |
| CMYK | cmyk(65.7%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(49.30, -44.12, 38.22) |
| CIE-LCH | lch(49.30, 58.37, 139.10°) |
| OKLab | oklab(54.82% -0.1198 0.0891) |
| OKLCH | oklch(54.82% 0.149 143.4) |
| XYZ | xyz(10.1643, 17.8353, 5.5957) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.67
Tree Green
#2A7E19
ΔE00 3.69
Emerald Green
#028F1E
ΔE00 4.16
Darkish Green
#287C37
ΔE00 4.51
Green
#008000
ΔE00 4.81
Kelley Green
#009337
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E862F #862E85
analogous
#59862E #2E862F #2E865B
triadic
#2E862F #2F2E86 #862F2E
tetradic
#2E862F #2E5986 #862E85 #865B2E
square
#2E862F #2E5986 #862E85 #865B2E
split-complementary
#2E862F #5B2E86 #862E59
monochromatic
#0F2B0F #1E581F #2E862F #3EB43F #64CA66
Accessibility & contrast
On white
4.60
#2E862F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2E862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2E862F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E862F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E862F | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A25
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1B8274
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2e862f; /* rgb */ color: rgb(46, 134, 47); /* oklch */ color: oklch(54.8% 0.149 143.4);
Tailwind
colors: {
custom: {
50: '#72aa6b',
500: '#2e862f',
950: '#000000',
},
}SCSS
$custom: #2e862f; $custom-light: #72aa6b; $custom-dark: #000000;
JSON
{
"hex": "#2e862f",
"rgb": {
"r": 46,
"g": 134,
"b": 47
},
"hsl": {
"h": 120.682,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.54822,
"c": 0.14925,
"h": 143.4
},
"luminance": 0.17836
}Semantic roles & 50–950 ramp
primary
#2E862F
secondary
#B15FB0
accent
#4FD7D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A