#2B2202#2B2202

#2B2202 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.5% C 0.050 H 93.3°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#2B2202
RGBrgb(43, 34, 2)
HSLhsl(47, 91%, 9%)
HSVhsv(47, 95%, 17%)
CMYKcmyk(0%, 20.9%, 95.3%, 83.1%)
CIE-LABlab(13.60, -0.01, 19.23)
CIE-LCHlch(13.60, 19.23, 90.04°)
OKLaboklab(25.52% -0.0028 0.0495)
OKLCHoklch(25.52% 0.05 93.3)
XYZxyz(1.5793, 1.6621, 0.2951)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2202 #020B2B
analogous
#2B0E02 #2B2202 #202B02
triadic
#2B2202 #022B22 #22022B
tetradic
#2B2202 #022B0E #020B2B #2B0220
square
#2B2202 #022B0E #020B2B #2B0220
split-complementary
#2B2202 #02202B #0E022B
monochromatic
#1D1701 #1D1701 #2B2202 #655005 #A07E07

Accessibility & contrast

On white

15.76
#2B2202 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#2B2202 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2202
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2202#FFFFFF#000000##FFFFFF
##2B22021.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#292403
Tritanopia (blue-blind)
#301E1C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2b2202;
/* rgb */ color: rgb(43, 34, 2);
/* oklch */ color: oklch(25.5% 0.050 93.3);
Tailwind
colors: {
  custom: {
    50: '#655c47',
    500: '#2b2202',
    950: '#000000',
  },
}
SCSS
$custom: #2b2202;
$custom-light: #655c47;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2202",
  "rgb": {
    "r": 43,
    "g": 34,
    "b": 2
  },
  "hsl": {
    "h": 46.829,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25523,
    "c": 0.04963,
    "h": 93.3
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#2B2202
secondary
#192C70
accent
#58FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2202

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

Preview Lab → · Contrast checker → · Palette generator →

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