#2B2B0B#2B2B0B

#2B2B0B is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.1% C 0.049 H 109.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#2B2B0B
RGBrgb(43, 43, 11)
HSLhsl(60, 59%, 11%)
HSVhsv(60, 74%, 17%)
CMYKcmyk(0%, 0%, 74.4%, 83.1%)
CIE-LABlab(16.82, -5.29, 19.67)
CIE-LCHlch(16.82, 20.37, 105.06°)
OKLaboklab(28.11% -0.0161 0.0464)
OKLCHoklch(28.11% 0.049 109.2)
XYZxyz(1.9206, 2.2656, 0.6527)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B0B #0B0B2B
analogous
#2B1B0B #2B2B0B #1B2B0B
triadic
#2B2B0B #0B2B2B #2B0B2B
tetradic
#2B2B0B #0B2B1B #0B0B2B #2B0B1B
square
#2B2B0B #0B2B1B #0B0B2B #2B0B1B
split-complementary
#2B2B0B #0B1B2B #1B0B2B
monochromatic
#181806 #181806 #2B2B0B #5C5C17 #8C8C24

Accessibility & contrast

On white

14.45
#2B2B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#2B2B0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B0B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B0B#FFFFFF#000000##FFFFFF
##2B2B0B1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2907
Deuteranopia (green-blind)
#2F2A0D
Tritanopia (blue-blind)
#2F2824
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2b0b;
/* rgb */ color: rgb(43, 43, 11);
/* oklch */ color: oklch(28.1% 0.049 109.2);
Tailwind
colors: {
  custom: {
    50: '#65644c',
    500: '#2b2b0b',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b0b;
$custom-light: #65644c;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b0b",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 11
  },
  "hsl": {
    "h": 60,
    "s": 59.259,
    "l": 10.588
  },
  "oklch": {
    "l": 0.28113,
    "c": 0.04907,
    "h": 109.2
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#2B2B0B
secondary
#2B2B67
accent
#45E245
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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