#2E2803#2E2803

#2E2803 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.054 H 99.9°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#2E2803
RGBrgb(46, 40, 3)
HSLhsl(52, 88%, 10%)
HSVhsv(52, 93%, 18%)
CMYKcmyk(0%, 13%, 93.5%, 82%)
CIE-LABlab(16.03, -2.31, 22.03)
CIE-LCHlch(16.03, 22.15, 95.99°)
OKLaboklab(27.53% -0.0093 0.053)
OKLCHoklch(27.53% 0.054 99.9)
XYZxyz(1.9020, 2.1051, 0.3923)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2803 #03092E
analogous
#2E1303 #2E2803 #1F2E03
triadic
#2E2803 #032E28 #28032E
tetradic
#2E2803 #032E13 #03092E #2E031F
square
#2E2803 #032E13 #03092E #2E031F
split-complementary
#2E2803 #031F2E #13032E
monochromatic
#1D1902 #1D1902 #2E2803 #675A07 #A18C0A

Accessibility & contrast

On white

14.78
#2E2803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2803
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2803#FFFFFF#000000##FFFFFF
##2E28031.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#332421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2803;
/* rgb */ color: rgb(46, 40, 3);
/* oklch */ color: oklch(27.5% 0.054 99.9);
Tailwind
colors: {
  custom: {
    50: '#686148',
    500: '#2e2803',
    950: '#000000',
  },
}
SCSS
$custom: #2e2803;
$custom-light: #686148;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2803",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 3
  },
  "hsl": {
    "h": 51.628,
    "s": 87.755,
    "l": 9.608
  },
  "oklch": {
    "l": 0.27534,
    "c": 0.05379,
    "h": 99.9
  },
  "luminance": 0.02105
}

Semantic roles & 50–950 ramp

primary
#2E2803
secondary
#1B2772
accent
#47FE2A
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2803

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

Preview Lab → · Contrast checker → · Palette generator →

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