#2E2805#2E2805

#2E2805 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.052 H 99.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2E2805
RGBrgb(46, 40, 5)
HSLhsl(51, 80%, 10%)
HSVhsv(51, 89%, 18%)
CMYKcmyk(0%, 13%, 89.1%, 82%)
CIE-LABlab(16.05, -2.15, 21.24)
CIE-LCHlch(16.05, 21.35, 95.77°)
OKLaboklab(27.56% -0.0084 0.0509)
OKLCHoklch(27.56% 0.052 99.4)
XYZxyz(1.9130, 2.1095, 0.4500)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2805 #050B2E
analogous
#2E1405 #2E2805 #1F2E05
triadic
#2E2805 #052E28 #28052E
tetradic
#2E2805 #052E14 #050B2E #2E051F
square
#2E2805 #052E14 #050B2E #2E051F
split-complementary
#2E2805 #051F2E #14052E
monochromatic
#1C1803 #1C1803 #2E2805 #65580B #9C8811

Accessibility & contrast

On white

14.77
#2E2805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2E2805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2805
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2805#FFFFFF#000000##FFFFFF
##2E28051.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2702
Deuteranopia (green-blind)
#2F2907
Tritanopia (blue-blind)
#322421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2805;
/* rgb */ color: rgb(46, 40, 5);
/* oklch */ color: oklch(27.6% 0.052 99.4);
Tailwind
colors: {
  custom: {
    50: '#686149',
    500: '#2e2805',
    950: '#000000',
  },
}
SCSS
$custom: #2e2805;
$custom-light: #686149;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2805",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 51.22,
    "s": 80.392,
    "l": 10
  },
  "oklch": {
    "l": 0.27558,
    "c": 0.05156,
    "h": 99.4
  },
  "luminance": 0.02109
}

Semantic roles & 50–950 ramp

primary
#2E2805
secondary
#1F2B70
accent
#4EF731
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2E2805

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

Preview Lab → · Contrast checker → · Palette generator →

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