#2B2B01#2B2B01

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

Color values

HEX#2B2B01
RGBrgb(43, 43, 1)
HSLhsl(60, 95%, 9%)
HSVhsv(60, 98%, 17%)
CMYKcmyk(0%, 0%, 97.7%, 83.1%)
CIE-LABlab(16.72, -6.14, 23.62)
CIE-LCHlch(16.72, 24.41, 104.58°)
OKLaboklab(27.99% -0.0202 0.0563)
OKLCHoklch(27.99% 0.06 109.7)
XYZxyz(1.8657, 2.2436, 0.3635)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B01 #01012B
analogous
#2B1601 #2B2B01 #162B01
triadic
#2B2B01 #012B2B #2B012B
tetradic
#2B2B01 #012B16 #01012B #2B0116
square
#2B2B01 #012B16 #01012B #2B0116
split-complementary
#2B2B01 #01162B #16012B
monochromatic
#1E1E01 #1E1E01 #2B2B01 #676702 #A3A304

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2B01#FFFFFF#000000##FFFFFF
##2B2B011.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)
#302900
Deuteranopia (green-blind)
#302A03
Tritanopia (blue-blind)
#2F2723
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2b01;
/* rgb */ color: rgb(43, 43, 1);
/* oklch */ color: oklch(28.0% 0.060 109.7);
Tailwind
colors: {
  custom: {
    50: '#666447',
    500: '#2b2b01',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b01;
$custom-light: #666447;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b01",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 1
  },
  "hsl": {
    "h": 60,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27994,
    "c": 0.05984,
    "h": 109.7
  },
  "luminance": 0.02244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2B01

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

Preview Lab → · Contrast checker → · Palette generator →

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