#2E6210#2E6210
#2E6210 is a dark, vivid yellow-green. Relative luminance 0.094; OKLCH L 44.3% C 0.124 H 137.0°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2E6210 |
|---|---|
| RGB | rgb(46, 98, 16) |
| HSL | hsl(98, 72%, 22%) |
| HSV | hsv(98, 84%, 38%) |
| CMYK | cmyk(53.1%, 0%, 83.7%, 61.6%) |
| CIE-LAB | lab(36.66, -32.55, 38.01) |
| CIE-LCH | lch(36.66, 50.04, 130.57°) |
| OKLab | oklab(44.31% -0.0904 0.0844) |
| OKLCH | oklch(44.31% 0.124 137) |
| XYZ | xyz(5.5878, 9.3532, 2.0010) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 3.88
Deep Green
#02590F
ΔE00 5.17
Forest
#0B5509
ΔE00 5.42
Navy Green
#35530A
ΔE00 5.69
Forest Green
#2D5A27
ΔE00 5.84
Camouflage Green
#4B6113
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E6210 #441062
analogous
#576210 #2E6210 #10621B
triadic
#2E6210 #102E62 #62102E
tetradic
#2E6210 #105762 #441062 #621B10
square
#2E6210 #105762 #441062 #621B10
split-complementary
#2E6210 #1B1062 #621057
monochromatic
#0C1A04 #152D07 #2E6210 #479719 #5FCB21
Accessibility & contrast
On white
7.32
#2E6210 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2E6210 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E6210
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E6210 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E6210 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#5F5519
Tritanopia (blue-blind)
#2B5E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2e6210; /* rgb */ color: rgb(46, 98, 16); /* oklch */ color: oklch(44.3% 0.124 137.0);
Tailwind
colors: {
custom: {
50: '#6d8f56',
500: '#2e6210',
950: '#000000',
},
}SCSS
$custom: #2e6210; $custom-light: #6d8f56; $custom-dark: #000000;
JSON
{
"hex": "#2e6210",
"rgb": {
"r": 46,
"g": 98,
"b": 16
},
"hsl": {
"h": 98.049,
"s": 71.93,
"l": 22.353
},
"oklch": {
"l": 0.44313,
"c": 0.12368,
"h": 137
},
"luminance": 0.09354
}Semantic roles & 50–950 ramp
primary
#2E6210
secondary
#75339B
accent
#39EFAC
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78