#2B240E#2B240E

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

Color values

HEX#2B240E
RGBrgb(43, 36, 14)
HSLhsl(46, 51%, 11%)
HSVhsv(46, 67%, 17%)
CMYKcmyk(0%, 16.3%, 67.4%, 83.1%)
CIE-LABlab(14.44, -0.28, 15.25)
CIE-LCHlch(14.44, 15.26, 91.06°)
OKLaboklab(26.24% -0.0013 0.0371)
OKLCHoklch(26.24% 0.037 92.1)
XYZxyz(1.7065, 1.8071, 0.6743)
Luminance0.0181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B240E #0E152B
analogous
#2B150E #2B240E #232B0E
triadic
#2B240E #0E2B24 #240E2B
tetradic
#2B240E #0E2B15 #0E152B #2B0E23
square
#2B240E #0E2B15 #0E152B #2B0E23
split-complementary
#2B240E #0E232B #150E2B
monochromatic
#171308 #171308 #2B240E #594B1D #87712C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B240E#FFFFFF#000000##FFFFFF
##2B240E1.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)
#28230C
Deuteranopia (green-blind)
#2A250F
Tritanopia (blue-blind)
#2F211F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b240e;
/* rgb */ color: rgb(43, 36, 14);
/* oklch */ color: oklch(26.2% 0.037 92.1);
Tailwind
colors: {
  custom: {
    50: '#655e4d',
    500: '#2b240e',
    950: '#000000',
  },
}
SCSS
$custom: #2b240e;
$custom-light: #655e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b240e",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 14
  },
  "hsl": {
    "h": 45.517,
    "s": 50.877,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26235,
    "c": 0.03716,
    "h": 92.1
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#2B240E
secondary
#303D65
accent
#6FDA4D
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B240E

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

Preview Lab → · Contrast checker → · Palette generator →

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