#2A2407#2A2407

#2A2407 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.0% C 0.045 H 97.5°. Best body text is #FFFFFF at 15.51:1 contrast (WCAG AA passes).

Color values

HEX#2A2407
RGBrgb(42, 36, 7)
HSLhsl(50, 71%, 10%)
HSVhsv(50, 83%, 16%)
CMYKcmyk(0%, 14.3%, 83.3%, 83.5%)
CIE-LABlab(14.23, -1.51, 17.99)
CIE-LCHlch(14.23, 18.06, 94.79°)
OKLaboklab(26.01% -0.0059 0.0447)
OKLCHoklch(26.01% 0.045 97.5)
XYZxyz(1.6241, 1.7694, 0.4570)
Luminance0.0177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A2407 #070D2A
analogous
#2A1307 #2A2407 #1F2A07
triadic
#2A2407 #072A24 #24072A
tetradic
#2A2407 #072A13 #070D2A #2A071F
square
#2A2407 #072A13 #070D2A #2A071F
split-complementary
#2A2407 #071F2A #13072A
monochromatic
#1A1604 #1A1604 #2A2407 #5E5110 #937E18

Accessibility & contrast

On white

15.51
#2A2407 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2A2407 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A2407
15.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A2407#FFFFFF#000000##FFFFFF
##2A24071.0015.511.3515.51
#FFFFFF15.511.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282304
Deuteranopia (green-blind)
#2A2508
Tritanopia (blue-blind)
#2E211E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a2407;
/* rgb */ color: rgb(42, 36, 7);
/* oklch */ color: oklch(26.0% 0.045 97.5);
Tailwind
colors: {
  custom: {
    50: '#645e4a',
    500: '#2a2407',
    950: '#000000',
  },
}
SCSS
$custom: #2a2407;
$custom-light: #645e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2a2407",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 7
  },
  "hsl": {
    "h": 49.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26008,
    "c": 0.04507,
    "h": 97.5
  },
  "luminance": 0.01769
}

Semantic roles & 50–950 ramp

primary
#2A2407
secondary
#232F6A
accent
#59EE3A
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A2407

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

Preview Lab → · Contrast checker → · Palette generator →

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