#2B2B02#2B2B02

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

Color values

HEX#2B2B02
RGBrgb(43, 43, 2)
HSLhsl(60, 91%, 9%)
HSVhsv(60, 95%, 17%)
CMYKcmyk(0%, 0%, 95.3%, 83.1%)
CIE-LABlab(16.73, -6.06, 23.23)
CIE-LCHlch(16.73, 24.01, 104.62°)
OKLaboklab(28.01% -0.0197 0.0553)
OKLCHoklch(28.01% 0.059 109.7)
XYZxyz(1.8712, 2.2458, 0.3923)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B02 #02022B
analogous
#2B1702 #2B2B02 #172B02
triadic
#2B2B02 #022B2B #2B022B
tetradic
#2B2B02 #022B17 #02022B #2B0217
square
#2B2B02 #022B17 #02022B #2B0217
split-complementary
#2B2B02 #02172B #17022B
monochromatic
#1D1D01 #1D1D01 #2B2B02 #656505 #A0A007

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2B02#FFFFFF#000000##FFFFFF
##2B2B021.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)
#302A04
Tritanopia (blue-blind)
#2F2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2b02;
/* rgb */ color: rgb(43, 43, 2);
/* oklch */ color: oklch(28.0% 0.059 109.7);
Tailwind
colors: {
  custom: {
    50: '#666448',
    500: '#2b2b02',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b02;
$custom-light: #666448;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b02",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 2
  },
  "hsl": {
    "h": 60,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.28006,
    "c": 0.05869,
    "h": 109.7
  },
  "luminance": 0.02246
}

Semantic roles & 50–950 ramp

primary
#2B2B02
secondary
#191970
accent
#29FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2B02

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

Preview Lab → · Contrast checker → · Palette generator →

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