#2E2508#2E2508

#2E2508 is a dark, muted yellow. Relative luminance 0.019; OKLCH L 26.8% C 0.046 H 91.7°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#2E2508
RGBrgb(46, 37, 8)
HSLhsl(46, 70%, 11%)
HSVhsv(46, 83%, 18%)
CMYKcmyk(0%, 19.6%, 82.6%, 82%)
CIE-LABlab(15.07, 0.14, 18.77)
CIE-LCHlch(15.07, 18.77, 89.57°)
OKLaboklab(26.79% -0.0013 0.0456)
OKLCHoklch(26.79% 0.046 91.7)
XYZxyz(1.8322, 1.9216, 0.5041)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2508 #08112E
analogous
#2E1208 #2E2508 #242E08
triadic
#2E2508 #082E25 #25082E
tetradic
#2E2508 #082E12 #08112E #2E0824
square
#2E2508 #082E12 #08112E #2E0824
split-complementary
#2E2508 #08242E #12082E
monochromatic
#1A1505 #1A1505 #2E2508 #624F11 #96791A

Accessibility & contrast

On white

15.17
#2E2508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2E2508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2508
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2508#FFFFFF#000000##FFFFFF
##2E25081.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2405
Deuteranopia (green-blind)
#2C2709
Tritanopia (blue-blind)
#32211F
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e2508;
/* rgb */ color: rgb(46, 37, 8);
/* oklch */ color: oklch(26.8% 0.046 91.7);
Tailwind
colors: {
  custom: {
    50: '#685f4a',
    500: '#2e2508',
    950: '#000000',
  },
}
SCSS
$custom: #2e2508;
$custom-light: #685f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2508",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 8
  },
  "hsl": {
    "h": 45.789,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26793,
    "c": 0.0456,
    "h": 91.7
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#2E2508
secondary
#25366D
accent
#65ED3B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2E2508

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

Preview Lab → · Contrast checker → · Palette generator →

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