#2E2302#2E2302

#2E2302 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.051 H 90.1°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2302
RGBrgb(46, 35, 2)
HSLhsl(45, 92%, 9%)
HSVhsv(45, 96%, 18%)
CMYKcmyk(0%, 23.9%, 95.7%, 82%)
CIE-LABlab(14.33, 1.02, 20.26)
CIE-LCHlch(14.33, 20.29, 87.13°)
OKLaboklab(26.19% -0.0001 0.051)
OKLCHoklch(26.19% 0.051 90.1)
XYZxyz(1.7388, 1.7874, 0.3108)
Luminance0.0179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2302 #020D2E
analogous
#2E0D02 #2E2302 #232E02
triadic
#2E2302 #022E23 #23022E
tetradic
#2E2302 #022E0D #020D2E #2E0223
square
#2E2302 #022E0D #020D2E #2E0223
split-complementary
#2E2302 #02232E #0D022E
monochromatic
#1D1601 #1D1601 #2E2302 #695005 #A37C07

Accessibility & contrast

On white

15.47
#2E2302 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2E2302 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2302
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2302#FFFFFF#000000##FFFFFF
##2E23021.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#2B2603
Tritanopia (blue-blind)
#331F1C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e2302;
/* rgb */ color: rgb(46, 35, 2);
/* oklch */ color: oklch(26.2% 0.051 90.1);
Tailwind
colors: {
  custom: {
    50: '#685d47',
    500: '#2e2302',
    950: '#000000',
  },
}
SCSS
$custom: #2e2302;
$custom-light: #685d47;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2302",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 2
  },
  "hsl": {
    "h": 45,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.051,
    "h": 90.1
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#2E2302
secondary
#192F73
accent
#5EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2E2302

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

Preview Lab → · Contrast checker → · Palette generator →

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