#2E510F#2E510F
#2E510F is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.4% C 0.101 H 133.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2E510F |
|---|---|
| RGB | rgb(46, 81, 15) |
| HSL | hsl(92, 69%, 19%) |
| HSV | hsv(92, 81%, 32%) |
| CMYK | cmyk(43.2%, 0%, 81.5%, 68.2%) |
| CIE-LAB | lab(30.64, -24.90, 32.60) |
| CIE-LCH | lch(30.64, 41.02, 127.37°) |
| OKLab | oklab(39.37% -0.0699 0.0729) |
| OKLCH | oklch(39.37% 0.101 133.8) |
| XYZ | xyz(4.1553, 6.5000, 1.4875) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.00
Forest
#0B5509
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.06
Forrest Green
#154406
ΔE00 5.12
Dark Olive Green
#3C4D03
ΔE00 5.16
Bottle Green
#044A05
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E510F #320F51
analogous
#4F510F #2E510F #0F5111
triadic
#2E510F #0F2E51 #510F2E
tetradic
#2E510F #0F4F51 #320F51 #51110F
square
#2E510F #0F4F51 #320F51 #51110F
split-complementary
#2E510F #110F51 #510F4F
monochromatic
#0F1A05 #111D05 #2E510F #4B8519 #69B822
Accessibility & contrast
On white
9.13
#2E510F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E510F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E510F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E510F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E510F | 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)
#554A03
Deuteranopia (green-blind)
#504716
Tritanopia (blue-blind)
#2E4D44
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e510f; /* rgb */ color: rgb(46, 81, 15); /* oklch */ color: oklch(39.4% 0.101 133.8);
Tailwind
colors: {
custom: {
50: '#6a8253',
500: '#2e510f',
950: '#000000',
},
}SCSS
$custom: #2e510f; $custom-light: #6a8253; $custom-dark: #000000;
JSON
{
"hex": "#2e510f",
"rgb": {
"r": 46,
"g": 81,
"b": 15
},
"hsl": {
"h": 91.818,
"s": 68.75,
"l": 18.824
},
"oklch": {
"l": 0.39373,
"c": 0.101,
"h": 133.8
},
"luminance": 0.065
}Semantic roles & 50–950 ramp
primary
#2E510F
secondary
#61318B
accent
#3CEC99
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78