#2A2000#2A2000

#2A2000 is a very dark, muted yellow. Relative luminance 0.015; OKLCH L 24.8% C 0.051 H 91.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#2A2000
RGBrgb(42, 32, 0)
HSLhsl(46, 100%, 8%)
HSVhsv(46, 100%, 16%)
CMYKcmyk(0%, 23.8%, 100%, 83.5%)
CIE-LABlab(12.77, 0.61, 18.91)
CIE-LCHlch(12.77, 18.92, 88.14°)
OKLaboklab(24.83% -0.0016 0.0508)
OKLCHoklch(24.83% 0.051 91.8)
XYZxyz(1.4715, 1.5254, 0.2169)
Luminance0.0152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2000 #000A2A
analogous
#2A0B00 #2A2000 #1F2A00
triadic
#2A2000 #002A20 #20002A
tetradic
#2A2000 #002A0B #000A2A #2A001F
square
#2A2000 #002A0B #000A2A #2A001F
split-complementary
#2A2000 #001F2A #0B002A
monochromatic
#1F1700 #1F1700 #2A2000 #674F00 #A47D00

Accessibility & contrast

On white

16.09
#2A2000 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A2000
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2000#FFFFFF#000000##FFFFFF
##2A20001.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a2000;
/* rgb */ color: rgb(42, 32, 0);
/* oklch */ color: oklch(24.8% 0.051 91.8);
Tailwind
colors: {
  custom: {
    50: '#655b46',
    500: '#2a2000',
    950: '#000000',
  },
}
SCSS
$custom: #2a2000;
$custom-light: #655b46;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2000",
  "rgb": {
    "r": 42,
    "g": 32,
    "b": 0
  },
  "hsl": {
    "h": 45.714,
    "s": 100,
    "l": 8.235
  },
  "oklch": {
    "l": 0.24825,
    "c": 0.05077,
    "h": 91.8
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#2A2000
secondary
#142A72
accent
#5CFF29
background
#F6F5F3
surface
#EBE9E5
border
#C6C5C1
text
#060400
muted
#7A7977

Preview Lab

Preview with #2A2000

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

Preview Lab → · Contrast checker → · Palette generator →

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