#2E3408#2E3408

#2E3408 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 30.9% C 0.064 H 117.1°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3408
RGBrgb(46, 52, 8)
HSLhsl(68, 73%, 12%)
HSVhsv(68, 85%, 20%)
CMYKcmyk(11.5%, 0%, 84.6%, 79.6%)
CIE-LABlab(20.26, -9.64, 25.02)
CIE-LCHlch(20.26, 26.81, 111.06°)
OKLaboklab(30.93% -0.0289 0.0566)
OKLCHoklch(30.93% 0.064 117.1)
XYZxyz(2.3986, 3.0544, 0.6929)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3408 #0E0834
analogous
#342408 #2E3408 #183408
triadic
#2E3408 #082E34 #34082E
tetradic
#2E3408 #083424 #0E0834 #340818
square
#2E3408 #083424 #0E0834 #340818
split-complementary
#2E3408 #081834 #240834
monochromatic
#171B04 #171B04 #2E3408 #5D6910 #8C9E18

Accessibility & contrast

On white

13.04
#2E3408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E3408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3408
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3408#FFFFFF#000000##FFFFFF
##2E34081.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383103
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#31312B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3408;
/* rgb */ color: rgb(46, 52, 8);
/* oklch */ color: oklch(30.9% 0.064 117.1);
Tailwind
colors: {
  custom: {
    50: '#686b4b',
    500: '#2e3408',
    950: '#000000',
  },
}
SCSS
$custom: #2e3408;
$custom-light: #686b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3408",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 8
  },
  "hsl": {
    "h": 68.182,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.06354,
    "h": 117.1
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#2E3408
secondary
#302573
accent
#38F051
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3408

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

Preview Lab → · Contrast checker → · Palette generator →

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