#2B2308#2B2308

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

Color values

HEX#2B2308
RGBrgb(43, 35, 8)
HSLhsl(46, 69%, 10%)
HSVhsv(46, 81%, 17%)
CMYKcmyk(0%, 18.6%, 81.4%, 83.1%)
CIE-LABlab(14.02, -0.16, 17.34)
CIE-LCHlch(14.02, 17.34, 90.54°)
OKLaboklab(25.88% -0.002 0.0431)
OKLCHoklch(25.88% 0.043 92.6)
XYZxyz(1.6412, 1.7333, 0.4778)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2308 #08102B
analogous
#2B1208 #2B2308 #212B08
triadic
#2B2308 #082B23 #23082B
tetradic
#2B2308 #082B12 #08102B #2B0821
square
#2B2308 #082B12 #08102B #2B0821
split-complementary
#2B2308 #08212B #12082B
monochromatic
#1A1505 #1A1505 #2B2308 #5F4D12 #92771B

Accessibility & contrast

On white

15.59
#2B2308 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2308
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2308#FFFFFF#000000##FFFFFF
##2B23081.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282205
Deuteranopia (green-blind)
#2A2509
Tritanopia (blue-blind)
#2F201D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2b2308;
/* rgb */ color: rgb(43, 35, 8);
/* oklch */ color: oklch(25.9% 0.043 92.6);
Tailwind
colors: {
  custom: {
    50: '#655d4a',
    500: '#2b2308',
    950: '#000000',
  },
}
SCSS
$custom: #2b2308;
$custom-light: #655d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2308",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 8
  },
  "hsl": {
    "h": 46.286,
    "s": 68.627,
    "l": 10
  },
  "oklch": {
    "l": 0.25877,
    "c": 0.04315,
    "h": 92.6
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#2B2308
secondary
#25356A
accent
#64EB3C
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060401
muted
#7A7977

Preview Lab

Preview with #2B2308

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

Preview Lab → · Contrast checker → · Palette generator →

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