#2E3406#2E3406

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

Color values

HEX#2E3406
RGBrgb(46, 52, 6)
HSLhsl(68, 79%, 11%)
HSVhsv(68, 88%, 20%)
CMYKcmyk(11.5%, 0%, 88.5%, 79.6%)
CIE-LABlab(20.24, -9.79, 25.82)
CIE-LCHlch(20.24, 27.61, 110.76°)
OKLaboklab(30.91% -0.0296 0.0582)
OKLCHoklch(30.91% 0.065 116.9)
XYZxyz(2.3876, 3.0500, 0.6352)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3406 #0C0634
analogous
#342306 #2E3406 #173406
triadic
#2E3406 #062E34 #34062E
tetradic
#2E3406 #063423 #0C0634 #340617
square
#2E3406 #063423 #0C0634 #340617
split-complementary
#2E3406 #061734 #230634
monochromatic
#181B03 #181B03 #2E3406 #5F6B0C #8FA213

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3406#FFFFFF#000000##FFFFFF
##2E34061.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)
#383101
Deuteranopia (green-blind)
#38310A
Tritanopia (blue-blind)
#32302B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e3406;
/* rgb */ color: rgb(46, 52, 6);
/* oklch */ color: oklch(30.9% 0.065 116.9);
Tailwind
colors: {
  custom: {
    50: '#686b4a',
    500: '#2e3406',
    950: '#000000',
  },
}
SCSS
$custom: #2e3406;
$custom-light: #686b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3406",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 6
  },
  "hsl": {
    "h": 67.826,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.30909,
    "c": 0.06531,
    "h": 116.9
  },
  "luminance": 0.0305
}

Semantic roles & 50–950 ramp

primary
#2E3406
secondary
#2C2174
accent
#32F64C
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3406

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

Preview Lab → · Contrast checker → · Palette generator →

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