#2B2B03#2B2B03

#2B2B03 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 28.0% C 0.058 H 109.6°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#2B2B03
RGBrgb(43, 43, 3)
HSLhsl(60, 87%, 9%)
HSVhsv(60, 93%, 17%)
CMYKcmyk(0%, 0%, 93%, 83.1%)
CIE-LABlab(16.74, -5.97, 22.83)
CIE-LCHlch(16.74, 23.60, 104.66°)
OKLaboklab(28.02% -0.0193 0.0542)
OKLCHoklch(28.02% 0.058 109.6)
XYZxyz(1.8766, 2.2480, 0.4212)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B03 #03032B
analogous
#2B1703 #2B2B03 #172B03
triadic
#2B2B03 #032B2B #2B032B
tetradic
#2B2B03 #032B17 #03032B #2B0317
square
#2B2B03 #032B17 #03032B #2B0317
split-complementary
#2B2B03 #03172B #17032B
monochromatic
#1D1D02 #1D1D02 #2B2B03 #646407 #9D9D0B

Accessibility & contrast

On white

14.49
#2B2B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2B03
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B03#FFFFFF#000000##FFFFFF
##2B2B031.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2900
Deuteranopia (green-blind)
#302A05
Tritanopia (blue-blind)
#2F2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2b03;
/* rgb */ color: rgb(43, 43, 3);
/* oklch */ color: oklch(28.0% 0.058 109.6);
Tailwind
colors: {
  custom: {
    50: '#666448',
    500: '#2b2b03',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b03;
$custom-light: #666448;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b03",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 3
  },
  "hsl": {
    "h": 60,
    "s": 86.957,
    "l": 9.02
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.05756,
    "h": 109.6
  },
  "luminance": 0.02248
}

Semantic roles & 50–950 ramp

primary
#2B2B03
secondary
#1B1B6F
accent
#2BFD2B
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2B03

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

Preview Lab → · Contrast checker → · Palette generator →

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