#2E2804#2E2804

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

Color values

HEX#2E2804
RGBrgb(46, 40, 4)
HSLhsl(51, 84%, 10%)
HSVhsv(51, 91%, 18%)
CMYKcmyk(0%, 13%, 91.3%, 82%)
CIE-LABlab(16.04, -2.23, 21.63)
CIE-LCHlch(16.04, 21.75, 95.88°)
OKLaboklab(27.55% -0.0088 0.0519)
OKLCHoklch(27.55% 0.053 99.7)
XYZxyz(1.9075, 2.1073, 0.4211)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2804 #040A2E
analogous
#2E1304 #2E2804 #1F2E04
triadic
#2E2804 #042E28 #28042E
tetradic
#2E2804 #042E13 #040A2E #2E041F
square
#2E2804 #042E13 #040A2E #2E041F
split-complementary
#2E2804 #041F2E #13042E
monochromatic
#1C1802 #1C1802 #2E2804 #665909 #9F8A0E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E2804#FFFFFF#000000##FFFFFF
##2E28041.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)
#2D2700
Deuteranopia (green-blind)
#2F2906
Tritanopia (blue-blind)
#322421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2e2804;
/* rgb */ color: rgb(46, 40, 4);
/* oklch */ color: oklch(27.5% 0.053 99.7);
Tailwind
colors: {
  custom: {
    50: '#686148',
    500: '#2e2804',
    950: '#000000',
  },
}
SCSS
$custom: #2e2804;
$custom-light: #686148;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2804",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 4
  },
  "hsl": {
    "h": 51.429,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.27546,
    "c": 0.05267,
    "h": 99.7
  },
  "luminance": 0.02107
}

Semantic roles & 50–950 ramp

primary
#2E2804
secondary
#1D2971
accent
#4BFA2E
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2804

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

Preview Lab → · Contrast checker → · Palette generator →

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