#2E3504#2E3504

#2E3504 is a dark, moderate yellow. Relative luminance 0.031; OKLCH L 31.2% C 0.068 H 117.8°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#2E3504
RGBrgb(46, 53, 4)
HSLhsl(69, 86%, 11%)
HSVhsv(69, 92%, 21%)
CMYKcmyk(13.2%, 0%, 92.5%, 79.2%)
CIE-LABlab(20.58, -10.54, 27.01)
CIE-LCHlch(20.58, 28.99, 111.32°)
OKLaboklab(31.18% -0.0319 0.0606)
OKLCHoklch(31.18% 0.068 117.8)
XYZxyz(2.4218, 3.1358, 0.5925)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3504 #0B0435
analogous
#352304 #2E3504 #153504
triadic
#2E3504 #042E35 #35042E
tetradic
#2E3504 #043523 #0B0435 #350415
square
#2E3504 #043523 #0B0435 #350415
split-complementary
#2E3504 #041535 #230435
monochromatic
#191C02 #191C02 #2E3504 #5F6E08 #91A70D

Accessibility & contrast

On white

12.91
#2E3504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2E3504 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3504
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3504#FFFFFF#000000##FFFFFF
##2E35041.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393100
Deuteranopia (green-blind)
#393208
Tritanopia (blue-blind)
#32312C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3504;
/* rgb */ color: rgb(46, 53, 4);
/* oklch */ color: oklch(31.2% 0.068 117.8);
Tailwind
colors: {
  custom: {
    50: '#696c49',
    500: '#2e3504',
    950: '#000000',
  },
}
SCSS
$custom: #2e3504;
$custom-light: #696c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3504",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 4
  },
  "hsl": {
    "h": 68.571,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.31175,
    "c": 0.06848,
    "h": 117.8
  },
  "luminance": 0.03136
}

Semantic roles & 50–950 ramp

primary
#2E3504
secondary
#2A1E77
accent
#2CFC49
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3504

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

Preview Lab → · Contrast checker → · Palette generator →

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