#2E3908#2E3908

#2E3908 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.4% C 0.071 H 121.7°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E3908
RGBrgb(46, 57, 8)
HSLhsl(73, 75%, 13%)
HSVhsv(73, 86%, 22%)
CMYKcmyk(19.3%, 0%, 86%, 77.6%)
CIE-LABlab(22.03, -12.63, 26.96)
CIE-LCHlch(22.03, 29.77, 115.11°)
OKLaboklab(32.36% -0.0372 0.0602)
OKLCHoklch(32.36% 0.071 121.7)
XYZxyz(2.6337, 3.5246, 0.7713)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3908 #130839
analogous
#392B08 #2E3908 #163908
triadic
#2E3908 #082E39 #39082E
tetradic
#2E3908 #08392B #130839 #390816
square
#2E3908 #08392B #130839 #390816
split-complementary
#2E3908 #081639 #2B0839
monochromatic
#161B04 #161B04 #2E3908 #596F10 #85A417

Accessibility & contrast

On white

12.32
#2E3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3908
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3908#FFFFFF#000000##FFFFFF
##2E39081.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3908;
/* rgb */ color: rgb(46, 57, 8);
/* oklch */ color: oklch(32.4% 0.071 121.7);
Tailwind
colors: {
  custom: {
    50: '#696f4c',
    500: '#2e3908',
    950: '#000000',
  },
}
SCSS
$custom: #2e3908;
$custom-light: #696f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3908",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 73.469,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32357,
    "c": 0.07074,
    "h": 121.7
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#2E3908
secondary
#382578
accent
#36F260
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3908

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

Preview Lab → · Contrast checker → · Palette generator →

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