#2E3303#2E3303

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

Color values

HEX#2E3303
RGBrgb(46, 51, 3)
HSLhsl(66, 89%, 11%)
HSVhsv(66, 94%, 20%)
CMYKcmyk(9.8%, 0%, 94.1%, 80%)
CIE-LABlab(19.86, -9.40, 26.61)
CIE-LCHlch(19.86, 28.22, 109.45°)
OKLaboklab(30.6% -0.0289 0.0601)
OKLCHoklch(30.6% 0.067 115.7)
XYZxyz(2.3270, 2.9551, 0.5339)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3303 #080333
analogous
#332003 #2E3303 #163303
triadic
#2E3303 #032E33 #33032E
tetradic
#2E3303 #033320 #080333 #330316
square
#2E3303 #033320 #080333 #330316
split-complementary
#2E3303 #031633 #200333
monochromatic
#1A1D02 #1A1D02 #2E3303 #626D06 #96A70A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3303#FFFFFF#000000##FFFFFF
##2E33031.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: #2e3303;
/* rgb */ color: rgb(46, 51, 3);
/* oklch */ color: oklch(30.6% 0.067 115.7);
Tailwind
colors: {
  custom: {
    50: '#686a49',
    500: '#2e3303',
    950: '#000000',
  },
}
SCSS
$custom: #2e3303;
$custom-light: #686a49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3303",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 3
  },
  "hsl": {
    "h": 66.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.06672,
    "h": 115.7
  },
  "luminance": 0.02955
}

Semantic roles & 50–950 ramp

primary
#2E3303
secondary
#251C76
accent
#29FF3F
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060601
muted
#7A7A77

Preview Lab

Preview with #2E3303

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

Preview Lab → · Contrast checker → · Palette generator →

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