#2B230A#2B230A

#2B230A is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.9% C 0.041 H 91.5°. Best body text is #FFFFFF at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#2B230A
RGBrgb(43, 35, 10)
HSLhsl(45, 62%, 10%)
HSVhsv(45, 77%, 17%)
CMYKcmyk(0%, 18.6%, 76.7%, 83.1%)
CIE-LABlab(14.05, 0.01, 16.56)
CIE-LCHlch(14.05, 16.56, 89.95°)
OKLaboklab(25.91% -0.0011 0.0409)
OKLCHoklch(25.91% 0.041 91.5)
XYZxyz(1.6522, 1.7377, 0.5355)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B230A #0A122B
analogous
#2B120A #2B230A #222B0A
triadic
#2B230A #0A2B23 #230A2B
tetradic
#2B230A #0A2B12 #0A122B #2B0A22
square
#2B230A #0A2B12 #0A122B #2B0A22
split-complementary
#2B230A #0A222B #120A2B
monochromatic
#191406 #191406 #2B230A #5D4B16 #8E7421

Accessibility & contrast

On white

15.58
#2B230A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2B230A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B230A
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B230A#FFFFFF#000000##FFFFFF
##2B230A1.0015.581.3515.58
#FFFFFF15.581.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272208
Deuteranopia (green-blind)
#29250B
Tritanopia (blue-blind)
#2F201E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b230a;
/* rgb */ color: rgb(43, 35, 10);
/* oklch */ color: oklch(25.9% 0.041 91.5);
Tailwind
colors: {
  custom: {
    50: '#655d4b',
    500: '#2b230a',
    950: '#000000',
  },
}
SCSS
$custom: #2b230a;
$custom-light: #655d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b230a",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 10
  },
  "hsl": {
    "h": 45.455,
    "s": 62.264,
    "l": 10.392
  },
  "oklch": {
    "l": 0.25905,
    "c": 0.04093,
    "h": 91.5
  },
  "luminance": 0.01738
}

Semantic roles & 50–950 ramp

primary
#2B230A
secondary
#293868
accent
#6AE542
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B230A

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

Preview Lab → · Contrast checker → · Palette generator →

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