#2A2002#2A2002

#2A2002 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.9% C 0.048 H 90.5°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#2A2002
RGBrgb(42, 32, 2)
HSLhsl(45, 91%, 9%)
HSVhsv(45, 95%, 16%)
CMYKcmyk(0%, 23.8%, 95.2%, 83.5%)
CIE-LABlab(12.80, 0.80, 18.13)
CIE-LCHlch(12.80, 18.15, 87.46°)
OKLaboklab(24.86% -0.0004 0.048)
OKLCHoklch(24.86% 0.048 90.5)
XYZxyz(1.4824, 1.5297, 0.2746)
Luminance0.0153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2002 #020C2A
analogous
#2A0C02 #2A2002 #202A02
triadic
#2A2002 #022A20 #20022A
tetradic
#2A2002 #022A0C #020C2A #2A0220
square
#2A2002 #022A0C #020C2A #2A0220
split-complementary
#2A2002 #02202A #0C022A
monochromatic
#1D1601 #1D1601 #2A2002 #644D05 #9F7908

Accessibility & contrast

On white

16.08
#2A2002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2A2002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2002
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2002#FFFFFF#000000##FFFFFF
##2A20021.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#251F00
Deuteranopia (green-blind)
#282203
Tritanopia (blue-blind)
#2E1C1A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2a2002;
/* rgb */ color: rgb(42, 32, 2);
/* oklch */ color: oklch(24.9% 0.048 90.5);
Tailwind
colors: {
  custom: {
    50: '#655b47',
    500: '#2a2002',
    950: '#000000',
  },
}
SCSS
$custom: #2a2002;
$custom-light: #655b47;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2002",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 45,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.24856,
    "c": 0.04801,
    "h": 90.5
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#2A2002
secondary
#192E6F
accent
#5EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2002

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

Preview Lab → · Contrast checker → · Palette generator →

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