#2E3304#2E3304

#2E3304 is a dark, moderate yellow. Relative luminance 0.030; OKLCH L 30.6% C 0.066 H 115.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#2E3304
RGBrgb(46, 51, 4)
HSLhsl(66, 85%, 11%)
HSVhsv(66, 92%, 20%)
CMYKcmyk(9.8%, 0%, 92.2%, 80%)
CIE-LABlab(19.87, -9.32, 26.21)
CIE-LCHlch(19.87, 27.82, 109.58°)
OKLaboklab(30.61% -0.0286 0.0592)
OKLCHoklch(30.61% 0.066 115.8)
XYZxyz(2.3325, 2.9573, 0.5628)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3304 #090433
analogous
#332004 #2E3304 #163304
triadic
#2E3304 #042E33 #33042E
tetradic
#2E3304 #043320 #090433 #330416
square
#2E3304 #043320 #090433 #330416
split-complementary
#2E3304 #041633 #200433
monochromatic
#1A1C02 #1A1C02 #2E3304 #616C08 #94A40D

Accessibility & contrast

On white

13.20
#2E3304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E3304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3304
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3304#FFFFFF#000000##FFFFFF
##2E33041.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373000
Deuteranopia (green-blind)
#373007
Tritanopia (blue-blind)
#322F2A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e3304;
/* rgb */ color: rgb(46, 51, 4);
/* oklch */ color: oklch(30.6% 0.066 115.8);
Tailwind
colors: {
  custom: {
    50: '#686a49',
    500: '#2e3304',
    950: '#000000',
  },
}
SCSS
$custom: #2e3304;
$custom-light: #686a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3304",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 4
  },
  "hsl": {
    "h": 66.383,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.30606,
    "c": 0.06577,
    "h": 115.8
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#2E3304
secondary
#271D75
accent
#2CFC42
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3304

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

Preview Lab → · Contrast checker → · Palette generator →

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