#2E3A08#2E3A08

#2E3A08 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.072 H 122.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3A08
RGBrgb(46, 58, 8)
HSLhsl(74, 76%, 13%)
HSVhsv(74, 86%, 23%)
CMYKcmyk(20.7%, 0%, 86.2%, 77.3%)
CIE-LABlab(22.39, -13.22, 27.33)
CIE-LCHlch(22.39, 30.36, 115.81°)
OKLaboklab(32.64% -0.0388 0.0609)
OKLCHoklch(32.64% 0.072 122.5)
XYZxyz(2.6836, 3.6245, 0.7879)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A08 #14083A
analogous
#3A2D08 #2E3A08 #153A08
triadic
#2E3A08 #082E3A #3A082E
tetradic
#2E3A08 #083A2D #14083A #3A0815
square
#2E3A08 #083A2D #14083A #3A0815
split-complementary
#2E3A08 #08153A #2D083A
monochromatic
#151B04 #151B04 #2E3A08 #59700F #83A617

Accessibility & contrast

On white

12.18
#2E3A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E3A08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A08
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A08#FFFFFF#000000##FFFFFF
##2E3A081.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3601
Deuteranopia (green-blind)
#3C350C
Tritanopia (blue-blind)
#313730
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3a08;
/* rgb */ color: rgb(46, 58, 8);
/* oklch */ color: oklch(32.6% 0.072 122.5);
Tailwind
colors: {
  custom: {
    50: '#69704c',
    500: '#2e3a08',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a08;
$custom-light: #69704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a08",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 8
  },
  "hsl": {
    "h": 74.4,
    "s": 75.758,
    "l": 12.941
  },
  "oklch": {
    "l": 0.32644,
    "c": 0.07219,
    "h": 122.5
  },
  "luminance": 0.03624
}

Semantic roles & 50–950 ramp

primary
#2E3A08
secondary
#392579
accent
#35F263
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A08

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

Preview Lab → · Contrast checker → · Palette generator →

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