#2E3A09#2E3A09

#2E3A09 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.7% C 0.071 H 122.6°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#2E3A09
RGBrgb(46, 58, 9)
HSLhsl(75, 73%, 13%)
HSVhsv(75, 84%, 23%)
CMYKcmyk(20.7%, 0%, 84.5%, 77.3%)
CIE-LABlab(22.40, -13.15, 26.93)
CIE-LCHlch(22.40, 29.97, 116.02°)
OKLaboklab(32.65% -0.0385 0.0602)
OKLCHoklch(32.65% 0.071 122.6)
XYZxyz(2.6891, 3.6267, 0.8167)
Luminance0.0363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A09 #15093A
analogous
#3A2D09 #2E3A09 #153A09
triadic
#2E3A09 #092E3A #3A092E
tetradic
#2E3A09 #093A2D #15093A #3A0915
square
#2E3A09 #093A2D #15093A #3A0915
split-complementary
#2E3A09 #09153A #2D093A
monochromatic
#151A04 #151A04 #2E3A09 #586F11 #82A419

Accessibility & contrast

On white

12.17
#2E3A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2E3A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A09
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A09#FFFFFF#000000##FFFFFF
##2E3A091.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3602
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#313731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3a09;
/* rgb */ color: rgb(46, 58, 9);
/* oklch */ color: oklch(32.7% 0.071 122.6);
Tailwind
colors: {
  custom: {
    50: '#69704c',
    500: '#2e3a09',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a09;
$custom-light: #69704c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a09",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 74.694,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.32653,
    "c": 0.07142,
    "h": 122.6
  },
  "luminance": 0.03627
}

Semantic roles & 50–950 ramp

primary
#2E3A09
secondary
#3B2778
accent
#38F065
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A09

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

Preview Lab → · Contrast checker → · Palette generator →

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