#2A2206#2A2206

#2A2206 is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.5% C 0.044 H 93.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#2A2206
RGBrgb(42, 34, 6)
HSLhsl(47, 75%, 9%)
HSVhsv(47, 86%, 16%)
CMYKcmyk(0%, 19%, 85.7%, 83.5%)
CIE-LABlab(13.53, -0.22, 17.48)
CIE-LCHlch(13.53, 17.48, 90.71°)
OKLaboklab(25.45% -0.0024 0.0444)
OKLCHoklch(25.45% 0.044 93.1)
XYZxyz(1.5598, 1.6495, 0.4085)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2206 #060E2A
analogous
#2A1006 #2A2206 #202A06
triadic
#2A2206 #062A22 #22062A
tetradic
#2A2206 #062A10 #060E2A #2A0620
square
#2A2206 #062A10 #060E2A #2A0620
split-complementary
#2A2206 #06202A #10062A
monochromatic
#1B1604 #1B1604 #2A2206 #604D0E #957915

Accessibility & contrast

On white

15.79
#2A2206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2A2206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2206
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2206#FFFFFF#000000##FFFFFF
##2A22061.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272103
Deuteranopia (green-blind)
#292407
Tritanopia (blue-blind)
#2E1F1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a2206;
/* rgb */ color: rgb(42, 34, 6);
/* oklch */ color: oklch(25.5% 0.044 93.1);
Tailwind
colors: {
  custom: {
    50: '#645c49',
    500: '#2a2206',
    950: '#000000',
  },
}
SCSS
$custom: #2a2206;
$custom-light: #645c49;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2206",
  "rgb": {
    "r": 42,
    "g": 34,
    "b": 6
  },
  "hsl": {
    "h": 46.667,
    "s": 75,
    "l": 9.412
  },
  "oklch": {
    "l": 0.25451,
    "c": 0.04442,
    "h": 93.1
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#2A2206
secondary
#21326B
accent
#60F236
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2A2206

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

Preview Lab → · Contrast checker → · Palette generator →

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