#2E2A08#2E2A08

#2E2A08 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.050 H 102.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#2E2A08
RGBrgb(46, 42, 8)
HSLhsl(54, 70%, 11%)
HSVhsv(54, 83%, 18%)
CMYKcmyk(0%, 8.7%, 82.6%, 82%)
CIE-LABlab(16.77, -3.24, 20.91)
CIE-LCHlch(16.77, 21.16, 98.81°)
OKLaboklab(28.14% -0.011 0.0493)
OKLCHoklch(28.14% 0.05 102.6)
XYZxyz(1.9986, 2.2544, 0.5595)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A08 #080C2E
analogous
#2E1708 #2E2A08 #1F2E08
triadic
#2E2A08 #082E2A #2A082E
tetradic
#2E2A08 #082E17 #080C2E #2E081F
square
#2E2A08 #082E17 #080C2E #2E081F
split-complementary
#2E2A08 #081F2E #17082E
monochromatic
#1A1805 #1A1805 #2E2A08 #625A11 #96891A

Accessibility & contrast

On white

14.47
#2E2A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A08
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A08#FFFFFF#000000##FFFFFF
##2E2A081.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2804
Deuteranopia (green-blind)
#302A0A
Tritanopia (blue-blind)
#322623
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2e2a08;
/* rgb */ color: rgb(46, 42, 8);
/* oklch */ color: oklch(28.1% 0.050 102.6);
Tailwind
colors: {
  custom: {
    50: '#68634a',
    500: '#2e2a08',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a08;
$custom-light: #68634a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a08",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 53.684,
    "s": 70.37,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28139,
    "c": 0.05048,
    "h": 102.6
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#2E2A08
secondary
#252D6D
accent
#4DED3B
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2A08

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

Preview Lab → · Contrast checker → · Palette generator →

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