#2E3604#2E3604

#2E3604 is a dark, moderate yellow. Relative luminance 0.032; OKLCH L 31.5% C 0.070 H 118.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#2E3604
RGBrgb(46, 54, 4)
HSLhsl(70, 86%, 11%)
HSVhsv(70, 93%, 21%)
CMYKcmyk(14.8%, 0%, 92.6%, 78.8%)
CIE-LABlab(20.93, -11.14, 27.40)
CIE-LCHlch(20.93, 29.58, 112.13°)
OKLaboklab(31.46% -0.0336 0.0612)
OKLCHoklch(31.46% 0.07 118.7)
XYZxyz(2.4679, 3.2280, 0.6079)
Luminance0.0323 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3604 #0C0436
analogous
#362504 #2E3604 #153604
triadic
#2E3604 #042E36 #36042E
tetradic
#2E3604 #043625 #0C0436 #360415
square
#2E3604 #043625 #0C0436 #360415
split-complementary
#2E3604 #041536 #250436
monochromatic
#181C02 #181C02 #2E3604 #5F6F08 #8FA80C

Accessibility & contrast

On white

12.76
#2E3604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#2E3604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3604
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3604#FFFFFF#000000##FFFFFF
##2E36041.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3200
Deuteranopia (green-blind)
#393308
Tritanopia (blue-blind)
#31322D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2e3604;
/* rgb */ color: rgb(46, 54, 4);
/* oklch */ color: oklch(31.5% 0.070 118.7);
Tailwind
colors: {
  custom: {
    50: '#696d49',
    500: '#2e3604',
    950: '#000000',
  },
}
SCSS
$custom: #2e3604;
$custom-light: #696d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3604",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 4
  },
  "hsl": {
    "h": 69.6,
    "s": 86.207,
    "l": 11.373
  },
  "oklch": {
    "l": 0.31461,
    "c": 0.06985,
    "h": 118.7
  },
  "luminance": 0.03228
}

Semantic roles & 50–950 ramp

primary
#2E3604
secondary
#2C1E78
accent
#2BFC4D
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3604

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

Preview Lab → · Contrast checker → · Palette generator →

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