#2E4408#2E4408

#2E4408 is a dark, moderate yellow-green. Relative luminance 0.047; OKLCH L 35.5% C 0.087 H 128.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2E4408
RGBrgb(46, 68, 8)
HSLhsl(82, 79%, 15%)
HSVhsv(82, 88%, 27%)
CMYKcmyk(32.4%, 0%, 88.2%, 73.3%)
CIE-LABlab(25.96, -18.77, 30.85)
CIE-LCHlch(25.96, 36.11, 121.33°)
OKLaboklab(35.54% -0.0539 0.0679)
OKLCHoklch(35.54% 0.087 128.4)
XYZxyz(3.2377, 4.7325, 0.9726)
Luminance0.0473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4408 #1E0844
analogous
#443C08 #2E4408 #104408
triadic
#2E4408 #082E44 #44082E
tetradic
#2E4408 #08443C #1E0844 #440810
square
#2E4408 #08443C #1E0844 #440810
split-complementary
#2E4408 #081044 #3C0844
monochromatic
#131B03 #131B03 #2E4408 #537B0E #78B215

Accessibility & contrast

On white

10.79
#2E4408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2E4408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4408
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4408#FFFFFF#000000##FFFFFF
##2E44081.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#483E00
Deuteranopia (green-blind)
#453D0E
Tritanopia (blue-blind)
#304039
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e4408;
/* rgb */ color: rgb(46, 68, 8);
/* oklch */ color: oklch(35.5% 0.087 128.4);
Tailwind
colors: {
  custom: {
    50: '#69784d',
    500: '#2e4408',
    950: '#000000',
  },
}
SCSS
$custom: #2e4408;
$custom-light: #69784d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4408",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 8
  },
  "hsl": {
    "h": 82,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.08673,
    "h": 128.4
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#2E4408
secondary
#482682
accent
#32F57A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060901
muted
#7A7B77

Preview Lab

Preview with #2E4408

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

Preview Lab → · Contrast checker → · Palette generator →

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