#2E2C04#2E2C04

#2E2C04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.6% C 0.057 H 106.6°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#2E2C04
RGBrgb(46, 44, 4)
HSLhsl(57, 84%, 10%)
HSVhsv(57, 91%, 18%)
CMYKcmyk(0%, 4.3%, 91.3%, 82%)
CIE-LABlab(17.42, -4.88, 23.33)
CIE-LCHlch(17.42, 23.84, 101.81°)
OKLaboklab(28.64% -0.0163 0.0546)
OKLCHoklch(28.64% 0.057 106.6)
XYZxyz(2.0494, 2.3910, 0.4684)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2C04 #04062E
analogous
#2E1704 #2E2C04 #1B2E04
triadic
#2E2C04 #042E2C #2C042E
tetradic
#2E2C04 #042E17 #04062E #2E041B
square
#2E2C04 #042E17 #04062E #2E041B
split-complementary
#2E2C04 #041B2E #17042E
monochromatic
#1C1B02 #1C1B02 #2E2C04 #666209 #9F980E

Accessibility & contrast

On white

14.21
#2E2C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#2E2C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2C04
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2C04#FFFFFF#000000##FFFFFF
##2E2C041.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#322B06
Tritanopia (blue-blind)
#322824
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2e2c04;
/* rgb */ color: rgb(46, 44, 4);
/* oklch */ color: oklch(28.6% 0.057 106.6);
Tailwind
colors: {
  custom: {
    50: '#686449',
    500: '#2e2c04',
    950: '#000000',
  },
}
SCSS
$custom: #2e2c04;
$custom-light: #686449;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2c04",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 4
  },
  "hsl": {
    "h": 57.143,
    "s": 84,
    "l": 9.804
  },
  "oklch": {
    "l": 0.28642,
    "c": 0.05695,
    "h": 106.6
  },
  "luminance": 0.02391
}

Semantic roles & 50–950 ramp

primary
#2E2C04
secondary
#1D2171
accent
#37FA2E
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2E2C04

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

Preview Lab → · Contrast checker → · Palette generator →

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