#2E2908#2E2908

#2E2908 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.9% C 0.049 H 100.6°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#2E2908
RGBrgb(46, 41, 8)
HSLhsl(52, 70%, 11%)
HSVhsv(52, 83%, 18%)
CMYKcmyk(0%, 10.9%, 82.6%, 82%)
CIE-LABlab(16.43, -2.57, 20.48)
CIE-LCHlch(16.43, 20.64, 97.16°)
OKLaboklab(27.87% -0.0091 0.0485)
OKLCHoklch(27.87% 0.049 100.6)
XYZxyz(1.9636, 2.1843, 0.5479)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2908 #080D2E
analogous
#2E1608 #2E2908 #202E08
triadic
#2E2908 #082E29 #29082E
tetradic
#2E2908 #082E16 #080D2E #2E0820
square
#2E2908 #082E16 #080D2E #2E0820
split-complementary
#2E2908 #08202E #16082E
monochromatic
#1A1705 #1A1705 #2E2908 #625711 #96861A

Accessibility & contrast

On white

14.62
#2E2908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#2E2908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2908
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2908#FFFFFF#000000##FFFFFF
##2E29081.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2805
Deuteranopia (green-blind)
#2F2A0A
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2908;
/* rgb */ color: rgb(46, 41, 8);
/* oklch */ color: oklch(27.9% 0.049 100.6);
Tailwind
colors: {
  custom: {
    50: '#68624a',
    500: '#2e2908',
    950: '#000000',
  },
}
SCSS
$custom: #2e2908;
$custom-light: #68624a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2908",
  "rgb": {
    "r": 46,
    "g": 41,
    "b": 8
  },
  "hsl": {
    "h": 52.105,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.27866,
    "c": 0.04937,
    "h": 100.6
  },
  "luminance": 0.02184
}

Semantic roles & 50–950 ramp

primary
#2E2908
secondary
#252E6D
accent
#52ED3B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2908

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

Preview Lab → · Contrast checker → · Palette generator →

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