#2E2A04#2E2A04

#2E2A04 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.1% C 0.055 H 103.3°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2A04
RGBrgb(46, 42, 4)
HSLhsl(54, 84%, 10%)
HSVhsv(54, 91%, 18%)
CMYKcmyk(0%, 8.7%, 91.3%, 82%)
CIE-LABlab(16.73, -3.56, 22.49)
CIE-LCHlch(16.73, 22.77, 99.00°)
OKLaboklab(28.09% -0.0126 0.0533)
OKLCHoklch(28.09% 0.055 103.3)
XYZxyz(1.9767, 2.2456, 0.4442)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A04 #04082E
analogous
#2E1504 #2E2A04 #1D2E04
triadic
#2E2A04 #042E2A #2A042E
tetradic
#2E2A04 #042E15 #04082E #2E041D
square
#2E2A04 #042E15 #04082E #2E041D
split-complementary
#2E2A04 #041D2E #15042E
monochromatic
#1C1A02 #1C1A02 #2E2A04 #665D09 #9F910E

Accessibility & contrast

On white

14.49
#2E2A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A04
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A04#FFFFFF#000000##FFFFFF
##2E2A041.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2a04;
/* rgb */ color: rgb(46, 42, 4);
/* oklch */ color: oklch(28.1% 0.055 103.3);
Tailwind
colors: {
  custom: {
    50: '#686349',
    500: '#2e2a04',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a04;
$custom-light: #686349;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a04",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 54.286,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28091,
    "c": 0.05472,
    "h": 103.3
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#2E2A04
secondary
#1D2571
accent
#41FA2E
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2E2A04

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

Preview Lab → · Contrast checker → · Palette generator →

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