#2A240B#2A240B

#2A240B is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.1% C 0.041 H 95.9°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#2A240B
RGBrgb(42, 36, 11)
HSLhsl(48, 58%, 10%)
HSVhsv(48, 74%, 16%)
CMYKcmyk(0%, 14.3%, 73.8%, 83.5%)
CIE-LABlab(14.28, -1.14, 16.42)
CIE-LCHlch(14.28, 16.46, 93.97°)
OKLaboklab(26.06% -0.0042 0.0403)
OKLCHoklch(26.06% 0.041 95.9)
XYZxyz(1.6462, 1.7782, 0.5731)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A240B #0B112A
analogous
#2A140B #2A240B #202A0B
triadic
#2A240B #0B2A24 #240B2A
tetradic
#2A240B #0B2A14 #0B112A #2A0B20
square
#2A240B #0B2A14 #0B112A #2A0B20
split-complementary
#2A240B #0B202A #140B2A
monochromatic
#181506 #181506 #2A240B #5A4E18 #8B7724

Accessibility & contrast

On white

15.49
#2A240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#2A240B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A240B
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A240B#FFFFFF#000000##FFFFFF
##2A240B1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a240b;
/* rgb */ color: rgb(42, 36, 11);
/* oklch */ color: oklch(26.1% 0.041 95.9);
Tailwind
colors: {
  custom: {
    50: '#645e4c',
    500: '#2a240b',
    950: '#000000',
  },
}
SCSS
$custom: #2a240b;
$custom-light: #645e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a240b",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 48.387,
    "s": 58.491,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26064,
    "c": 0.04053,
    "h": 95.9
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#2A240B
secondary
#2B3666
accent
#64E246
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A240B

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

Preview Lab → · Contrast checker → · Palette generator →

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