#2B2A01#2B2A01

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

Color values

HEX#2B2A01
RGBrgb(43, 42, 1)
HSLhsl(59, 95%, 9%)
HSVhsv(59, 98%, 17%)
CMYKcmyk(0%, 2.3%, 97.7%, 83.1%)
CIE-LABlab(16.36, -5.49, 23.19)
CIE-LCHlch(16.36, 23.83, 103.33°)
OKLaboklab(27.71% -0.0184 0.0557)
OKLCHoklch(27.71% 0.059 108.3)
XYZxyz(1.8298, 2.1718, 0.3515)
Luminance0.0217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2A01 #01022B
analogous
#2B1501 #2B2A01 #172B01
triadic
#2B2A01 #012B2A #2A012B
tetradic
#2B2A01 #012B15 #01022B #2B0117
square
#2B2A01 #012B15 #01022B #2B0117
split-complementary
#2B2A01 #01172B #15012B
monochromatic
#1E1D01 #1E1D01 #2B2A01 #676402 #A39F04

Accessibility & contrast

On white

14.64
#2B2A01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#2B2A01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2A01
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2A01#FFFFFF#000000##FFFFFF
##2B2A011.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2800
Deuteranopia (green-blind)
#2F2903
Tritanopia (blue-blind)
#2F2622
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #2b2a01;
/* rgb */ color: rgb(43, 42, 1);
/* oklch */ color: oklch(27.7% 0.059 108.3);
Tailwind
colors: {
  custom: {
    50: '#666347',
    500: '#2b2a01',
    950: '#000000',
  },
}
SCSS
$custom: #2b2a01;
$custom-light: #666347;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2a01",
  "rgb": {
    "r": 43,
    "g": 42,
    "b": 1
  },
  "hsl": {
    "h": 58.571,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27712,
    "c": 0.05867,
    "h": 108.3
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#2B2A01
secondary
#171971
accent
#2EFF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2A01

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

Preview Lab → · Contrast checker → · Palette generator →

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