#2B240B#2B240B

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

Color values

HEX#2B240B
RGBrgb(43, 36, 11)
HSLhsl(47, 59%, 11%)
HSVhsv(47, 74%, 17%)
CMYKcmyk(0%, 16.3%, 74.4%, 83.1%)
CIE-LABlab(14.40, -0.59, 16.60)
CIE-LCHlch(14.40, 16.61, 92.02°)
OKLaboklab(26.19% -0.0027 0.0406)
OKLCHoklch(26.19% 0.041 93.8)
XYZxyz(1.6876, 1.7996, 0.5750)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B240B #0B122B
analogous
#2B140B #2B240B #222B0B
triadic
#2B240B #0B2B24 #240B2B
tetradic
#2B240B #0B2B14 #0B122B #2B0B22
square
#2B240B #0B2B14 #0B122B #2B0B22
split-complementary
#2B240B #0B222B #140B2B
monochromatic
#181406 #181406 #2B240B #5C4D17 #8C7624

Accessibility & contrast

On white

15.44
#2B240B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B240B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B240B#FFFFFF#000000##FFFFFF
##2B240B1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b240b;
/* rgb */ color: rgb(43, 36, 11);
/* oklch */ color: oklch(26.2% 0.041 93.8);
Tailwind
colors: {
  custom: {
    50: '#655e4c',
    500: '#2b240b',
    950: '#000000',
  },
}
SCSS
$custom: #2b240b;
$custom-light: #655e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b240b",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 11
  },
  "hsl": {
    "h": 46.875,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.26187,
    "c": 0.04073,
    "h": 93.8
  },
  "luminance": 0.018
}

Semantic roles & 50–950 ramp

primary
#2B240B
secondary
#2B3867
accent
#68E245
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B240B

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

Preview Lab → · Contrast checker → · Palette generator →

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