#2A240C#2A240C

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

Color values

HEX#2A240C
RGBrgb(42, 36, 12)
HSLhsl(48, 56%, 11%)
HSVhsv(48, 71%, 16%)
CMYKcmyk(0%, 14.3%, 71.4%, 83.5%)
CIE-LABlab(14.29, -1.04, 15.99)
CIE-LCHlch(14.29, 16.03, 93.74°)
OKLaboklab(26.08% -0.0038 0.0392)
OKLCHoklch(26.08% 0.039 95.5)
XYZxyz(1.6521, 1.7806, 0.6044)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A240C #0C122A
analogous
#2A150C #2A240C #212A0C
triadic
#2A240C #0C2A24 #240C2A
tetradic
#2A240C #0C2A15 #0C122A #2A0C21
square
#2A240C #0C2A15 #0C122A #2A0C21
split-complementary
#2A240C #0C212A #150C2A
monochromatic
#181407 #181407 #2A240C #5A4D1A #897627

Accessibility & contrast

On white

15.48
#2A240C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A240C
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A240C#FFFFFF#000000##FFFFFF
##2A240C1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230A
Deuteranopia (green-blind)
#2A250D
Tritanopia (blue-blind)
#2E211F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a240c;
/* rgb */ color: rgb(42, 36, 12);
/* oklch */ color: oklch(26.1% 0.039 95.5);
Tailwind
colors: {
  custom: {
    50: '#645e4c',
    500: '#2a240c',
    950: '#000000',
  },
}
SCSS
$custom: #2a240c;
$custom-light: #645e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2a240c",
  "rgb": {
    "r": 42,
    "g": 36,
    "b": 12
  },
  "hsl": {
    "h": 48,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26079,
    "c": 0.03936,
    "h": 95.5
  },
  "luminance": 0.01781
}

Semantic roles & 50–950 ramp

primary
#2A240C
secondary
#2D3865
accent
#67DF49
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#050401
muted
#7A7977

Preview Lab

Preview with #2A240C

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

Preview Lab → · Contrast checker → · Palette generator →

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