#2E2802#2E2802

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

Color values

HEX#2E2802
RGBrgb(46, 40, 2)
HSLhsl(52, 92%, 9%)
HSVhsv(52, 96%, 18%)
CMYKcmyk(0%, 13%, 95.7%, 82%)
CIE-LABlab(16.02, -2.39, 22.42)
CIE-LCHlch(16.02, 22.55, 96.09°)
OKLaboklab(27.52% -0.0097 0.0541)
OKLCHoklch(27.52% 0.055 100.2)
XYZxyz(1.8966, 2.1029, 0.3634)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2802 #02082E
analogous
#2E1202 #2E2802 #1E2E02
triadic
#2E2802 #022E28 #28022E
tetradic
#2E2802 #022E12 #02082E #2E021E
square
#2E2802 #022E12 #02082E #2E021E
split-complementary
#2E2802 #021E2E #12022E
monochromatic
#1D1901 #1D1901 #2E2802 #695B05 #A38E07

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2802#FFFFFF#000000##FFFFFF
##2E28021.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)
#2F2904
Tritanopia (blue-blind)
#332421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2802;
/* rgb */ color: rgb(46, 40, 2);
/* oklch */ color: oklch(27.5% 0.055 100.2);
Tailwind
colors: {
  custom: {
    50: '#686147',
    500: '#2e2802',
    950: '#000000',
  },
}
SCSS
$custom: #2e2802;
$custom-light: #686147;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2802",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 51.818,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27521,
    "c": 0.05494,
    "h": 100.2
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#2E2802
secondary
#192573
accent
#46FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2802

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

Preview Lab → · Contrast checker → · Palette generator →

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