#2E5913#2E5913

#2E5913 is a dark, moderate yellow-green. Relative luminance 0.078; OKLCH L 41.7% C 0.110 H 136.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5913
RGBrgb(46, 89, 19)
HSLhsl(97, 65%, 21%)
HSVhsv(97, 79%, 35%)
CMYKcmyk(48.3%, 0%, 78.7%, 65.1%)
CIE-LABlab(33.50, -28.35, 33.82)
CIE-LCHlch(33.50, 44.13, 129.97°)
OKLaboklab(41.73% -0.0789 0.0761)
OKLCHoklch(41.73% 0.11 136)
XYZxyz(4.8165, 7.7723, 1.8624)
Luminance0.0777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5913 #3E1359
analogous
#515913 #2E5913 #13591B
triadic
#2E5913 #132E59 #59132E
tetradic
#2E5913 #135159 #3E1359 #591B13
square
#2E5913 #135159 #3E1359 #591B13
split-complementary
#2E5913 #1B1359 #591351
monochromatic
#0D1905 #142708 #2E5913 #488B1E #62BE29

Accessibility & contrast

On white

8.22
#2E5913 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E5913 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5913
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5913#FFFFFF#000000##FFFFFF
##2E59131.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#574D1A
Tritanopia (blue-blind)
#2C554B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e5913;
/* rgb */ color: rgb(46, 89, 19);
/* oklch */ color: oklch(41.7% 0.110 136.0);
Tailwind
colors: {
  custom: {
    50: '#6b8856',
    500: '#2e5913',
    950: '#000000',
  },
}
SCSS
$custom: #2e5913;
$custom-light: #6b8856;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5913",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 19
  },
  "hsl": {
    "h": 96.857,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41729,
    "c": 0.10965,
    "h": 136
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#2E5913
secondary
#6E3791
accent
#40E8A7
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5913

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2E5913 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva