#2E2A02#2E2A02

#2E2A02 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.057 H 103.6°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#2E2A02
RGBrgb(46, 42, 2)
HSLhsl(55, 92%, 9%)
HSVhsv(55, 96%, 18%)
CMYKcmyk(0%, 8.7%, 95.7%, 82%)
CIE-LABlab(16.71, -3.73, 23.27)
CIE-LCHlch(16.71, 23.57, 99.10°)
OKLaboklab(28.07% -0.0134 0.0553)
OKLCHoklch(28.07% 0.057 103.6)
XYZxyz(1.9657, 2.2412, 0.3865)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A02 #02062E
analogous
#2E1402 #2E2A02 #1C2E02
triadic
#2E2A02 #022E2A #2A022E
tetradic
#2E2A02 #022E14 #02062E #2E021C
square
#2E2A02 #022E14 #02062E #2E021C
split-complementary
#2E2A02 #021C2E #14022E
monochromatic
#1D1B01 #1D1B01 #2E2A02 #696005 #A39507

Accessibility & contrast

On white

14.50
#2E2A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2E2A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A02
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A02#FFFFFF#000000##FFFFFF
##2E2A021.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#302A04
Tritanopia (blue-blind)
#322622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2a02;
/* rgb */ color: rgb(46, 42, 2);
/* oklch */ color: oklch(28.1% 0.057 103.6);
Tailwind
colors: {
  custom: {
    50: '#686348',
    500: '#2e2a02',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a02;
$custom-light: #686348;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a02",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 54.545,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.28067,
    "c": 0.05693,
    "h": 103.6
  },
  "luminance": 0.02241
}

Semantic roles & 50–950 ramp

primary
#2E2A02
secondary
#192173
accent
#3CFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2A02

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

Preview Lab → · Contrast checker → · Palette generator →

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