#2A2D04#2A2D04

#2A2D04 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.5% C 0.059 H 113.8°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#2A2D04
RGBrgb(42, 45, 4)
HSLhsl(64, 84%, 10%)
HSVhsv(64, 91%, 18%)
CMYKcmyk(6.7%, 0%, 91.1%, 82.4%)
CIE-LABlab(17.36, -7.72, 23.16)
CIE-LCHlch(17.36, 24.41, 108.43°)
OKLaboklab(28.49% -0.0239 0.0543)
OKLCHoklch(28.49% 0.059 113.8)
XYZxyz(1.9152, 2.3778, 0.4729)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2D04 #07042D
analogous
#2D1C04 #2A2D04 #162D04
triadic
#2A2D04 #042A2D #2D042A
tetradic
#2A2D04 #042D1C #07042D #2D0416
square
#2A2D04 #042D1C #07042D #2D0416
split-complementary
#2A2D04 #04162D #1C042D
monochromatic
#1A1C02 #1A1C02 #2A2D04 #5E6509 #939D0E

Accessibility & contrast

On white

14.23
#2A2D04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2D04
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2D04#FFFFFF#000000##FFFFFF
##2A2D041.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A00
Deuteranopia (green-blind)
#312B07
Tritanopia (blue-blind)
#2E2A25
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2a2d04;
/* rgb */ color: rgb(42, 45, 4);
/* oklch */ color: oklch(28.5% 0.059 113.8);
Tailwind
colors: {
  custom: {
    50: '#656549',
    500: '#2a2d04',
    950: '#000000',
  },
}
SCSS
$custom: #2a2d04;
$custom-light: #656549;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2d04",
  "rgb": {
    "r": 42,
    "g": 45,
    "b": 4
  },
  "hsl": {
    "h": 64.39,
    "s": 83.673,
    "l": 9.608
  },
  "oklch": {
    "l": 0.28492,
    "c": 0.05936,
    "h": 113.8
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#2A2D04
secondary
#231D70
accent
#2EFA3D
background
#F6F6F4
surface
#EBEBE6
border
#C6C6C2
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2A2D04

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

Preview Lab → · Contrast checker → · Palette generator →

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