#2A2A03#2A2A03

#2A2A03 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.6% C 0.057 H 109.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#2A2A03
RGBrgb(42, 42, 3)
HSLhsl(60, 87%, 9%)
HSVhsv(60, 93%, 16%)
CMYKcmyk(0%, 0%, 92.9%, 83.5%)
CIE-LABlab(16.28, -5.88, 22.24)
CIE-LCHlch(16.28, 23.01, 104.80°)
OKLaboklab(27.63% -0.019 0.0533)
OKLCHoklch(27.63% 0.057 109.6)
XYZxyz(1.7993, 2.1548, 0.4073)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2A03 #03032A
analogous
#2A1703 #2A2A03 #172A03
triadic
#2A2A03 #032A2A #2A032A
tetradic
#2A2A03 #032A17 #03032A #2A0317
square
#2A2A03 #032A17 #03032A #2A0317
split-complementary
#2A2A03 #03172A #17032A
monochromatic
#1D1D02 #1D1D02 #2A2A03 #636307 #9C9C0B

Accessibility & contrast

On white

14.68
#2A2A03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2A2A03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2A03
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2A03#FFFFFF#000000##FFFFFF
##2A2A031.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2800
Deuteranopia (green-blind)
#2F2905
Tritanopia (blue-blind)
#2E2722
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2a2a03;
/* rgb */ color: rgb(42, 42, 3);
/* oklch */ color: oklch(27.6% 0.057 109.6);
Tailwind
colors: {
  custom: {
    50: '#656348',
    500: '#2a2a03',
    950: '#000000',
  },
}
SCSS
$custom: #2a2a03;
$custom-light: #656348;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2a03",
  "rgb": {
    "r": 42,
    "g": 42,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 86.667,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27626,
    "c": 0.05661,
    "h": 109.6
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#2A2A03
secondary
#1B1B6E
accent
#2BFD2B
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2A2A03

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

Preview Lab → · Contrast checker → · Palette generator →

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