#2B240D#2B240D

#2B240D is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.2% C 0.038 H 92.7°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#2B240D
RGBrgb(43, 36, 13)
HSLhsl(46, 54%, 11%)
HSVhsv(46, 70%, 17%)
CMYKcmyk(0%, 16.3%, 69.8%, 83.1%)
CIE-LABlab(14.43, -0.39, 15.73)
CIE-LCHlch(14.43, 15.73, 91.42°)
OKLaboklab(26.22% -0.0018 0.0384)
OKLCHoklch(26.22% 0.038 92.7)
XYZxyz(1.6999, 1.8045, 0.6395)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B240D #0D142B
analogous
#2B150D #2B240D #232B0D
triadic
#2B240D #0D2B24 #240D2B
tetradic
#2B240D #0D2B15 #0D142B #2B0D23
square
#2B240D #0D2B15 #0D142B #2B0D23
split-complementary
#2B240D #0D232B #150D2B
monochromatic
#171407 #171407 #2B240D #5A4B1B #897329

Accessibility & contrast

On white

15.43
#2B240D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B240D
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B240D#FFFFFF#000000##FFFFFF
##2B240D1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28230B
Deuteranopia (green-blind)
#2A250E
Tritanopia (blue-blind)
#2F211F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b240d;
/* rgb */ color: rgb(43, 36, 13);
/* oklch */ color: oklch(26.2% 0.038 92.7);
Tailwind
colors: {
  custom: {
    50: '#655e4d',
    500: '#2b240d',
    950: '#000000',
  },
}
SCSS
$custom: #2b240d;
$custom-light: #655e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b240d",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 13
  },
  "hsl": {
    "h": 46,
    "s": 53.571,
    "l": 10.98
  },
  "oklch": {
    "l": 0.26218,
    "c": 0.03839,
    "h": 92.7
  },
  "luminance": 0.01804
}

Semantic roles & 50–950 ramp

primary
#2B240D
secondary
#2E3B66
accent
#6DDD4B
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B240D

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

Preview Lab → · Contrast checker → · Palette generator →

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