#2E510E#2E510E
#2E510E is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.102 H 133.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E510E |
|---|---|
| RGB | rgb(46, 81, 14) |
| HSL | hsl(91, 71%, 19%) |
| HSV | hsv(91, 83%, 32%) |
| CMYK | cmyk(43.2%, 0%, 82.7%, 68.2%) |
| CIE-LAB | lab(30.63, -24.97, 32.99) |
| CIE-LCH | lch(30.63, 41.37, 127.12°) |
| OKLab | oklab(39.37% -0.0702 0.0735) |
| OKLCH | oklch(39.37% 0.102 133.7) |
| XYZ | xyz(4.1483, 6.4972, 1.4509) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 1.89
Forest
#0B5509
ΔE00 4.98
Dark Olive Green
#3C4D03
ΔE00 5.07
Forrest Green
#154406
ΔE00 5.17
Forest Green
#2D5A27
ΔE00 5.19
Bottle Green
#044A05
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E510E #310E51
analogous
#4F510E #2E510E #0E510F
triadic
#2E510E #0E2E51 #510E2E
tetradic
#2E510E #0E4F51 #310E51 #510F0E
square
#2E510E #0E4F51 #310E51 #510F0E
split-complementary
#2E510E #0F0E51 #510E4F
monochromatic
#0F1A05 #101D05 #2E510E #4C8517 #69B920
Accessibility & contrast
On white
9.13
#2E510E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E510E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E510E
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E510E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E510E | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#554A02
Deuteranopia (green-blind)
#504715
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e510e; /* rgb */ color: rgb(46, 81, 14); /* oklch */ color: oklch(39.4% 0.102 133.7);
Tailwind
colors: {
custom: {
50: '#6a8252',
500: '#2e510e',
950: '#000000',
},
}SCSS
$custom: #2e510e; $custom-light: #6a8252; $custom-dark: #000000;
JSON
{
"hex": "#2e510e",
"rgb": {
"r": 46,
"g": 81,
"b": 14
},
"hsl": {
"h": 91.343,
"s": 70.526,
"l": 18.627
},
"oklch": {
"l": 0.39365,
"c": 0.10164,
"h": 133.7
},
"luminance": 0.06497
}Semantic roles & 50–950 ramp
primary
#2E510E
secondary
#5F2F8C
accent
#3AED98
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78