#2E2702#2E2702

#2E2702 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.3% C 0.054 H 98.3°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#2E2702
RGBrgb(46, 39, 2)
HSLhsl(50, 92%, 9%)
HSVhsv(50, 96%, 18%)
CMYKcmyk(0%, 15.2%, 95.7%, 82%)
CIE-LABlab(15.68, -1.72, 21.99)
CIE-LCHlch(15.68, 22.06, 94.47°)
OKLaboklab(27.25% -0.0078 0.0535)
OKLCHoklch(27.25% 0.054 98.3)
XYZxyz(1.8633, 2.0364, 0.3523)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2702 #02092E
analogous
#2E1102 #2E2702 #1F2E02
triadic
#2E2702 #022E27 #27022E
tetradic
#2E2702 #022E11 #02092E #2E021F
square
#2E2702 #022E11 #02092E #2E021F
split-complementary
#2E2702 #021F2E #11022E
monochromatic
#1D1901 #1D1901 #2E2702 #695905 #A38A07

Accessibility & contrast

On white

14.92
#2E2702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2E2702 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2702
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2702#FFFFFF#000000##FFFFFF
##2E27021.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2E2804
Tritanopia (blue-blind)
#332320
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e2702;
/* rgb */ color: rgb(46, 39, 2);
/* oklch */ color: oklch(27.3% 0.054 98.3);
Tailwind
colors: {
  custom: {
    50: '#686047',
    500: '#2e2702',
    950: '#000000',
  },
}
SCSS
$custom: #2e2702;
$custom-light: #686047;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2702",
  "rgb": {
    "r": 46,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 50.455,
    "s": 91.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.27251,
    "c": 0.05403,
    "h": 98.3
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#2E2702
secondary
#192773
accent
#4BFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2702

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

Preview Lab → · Contrast checker → · Palette generator →

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