#2E2D04#2E2D04

#2E2D04 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 28.9% C 0.058 H 108.1°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#2E2D04
RGBrgb(46, 45, 4)
HSLhsl(59, 84%, 10%)
HSVhsv(59, 91%, 18%)
CMYKcmyk(0%, 2.2%, 91.3%, 82%)
CIE-LABlab(17.77, -5.53, 23.75)
CIE-LCHlch(17.77, 24.39, 103.11°)
OKLaboklab(28.92% -0.0181 0.0553)
OKLCHoklch(28.92% 0.058 108.1)
XYZxyz(2.0871, 2.4665, 0.4810)
Luminance0.0247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2D04 #04052E
analogous
#2E1804 #2E2D04 #1A2E04
triadic
#2E2D04 #042E2D #2D042E
tetradic
#2E2D04 #042E18 #04052E #2E041A
square
#2E2D04 #042E18 #04052E #2E041A
split-complementary
#2E2D04 #041A2E #18042E
monochromatic
#1C1C02 #1C1C02 #2E2D04 #666409 #9F9B0E

Accessibility & contrast

On white

14.06
#2E2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2E2D04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2D04
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2D04#FFFFFF#000000##FFFFFF
##2E2D041.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B00
Deuteranopia (green-blind)
#322C07
Tritanopia (blue-blind)
#322925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2d04;
/* rgb */ color: rgb(46, 45, 4);
/* oklch */ color: oklch(28.9% 0.058 108.1);
Tailwind
colors: {
  custom: {
    50: '#686549',
    500: '#2e2d04',
    950: '#000000',
  },
}
SCSS
$custom: #2e2d04;
$custom-light: #686549;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2d04",
  "rgb": {
    "r": 46,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 58.571,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.05813,
    "h": 108.1
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#2E2D04
secondary
#1D1F71
accent
#32FA2E
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2E2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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