#2B2901#2B2901

#2B2901 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.4% C 0.058 H 106.7°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#2B2901
RGBrgb(43, 41, 1)
HSLhsl(57, 95%, 9%)
HSVhsv(57, 98%, 17%)
CMYKcmyk(0%, 4.7%, 97.7%, 83.1%)
CIE-LABlab(16.01, -4.84, 22.75)
CIE-LCHlch(16.01, 23.26, 102.01°)
OKLaboklab(27.43% -0.0166 0.0551)
OKLCHoklch(27.43% 0.058 106.7)
XYZxyz(1.7948, 2.1017, 0.3398)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2901 #01032B
analogous
#2B1401 #2B2901 #182B01
triadic
#2B2901 #012B29 #29012B
tetradic
#2B2901 #012B14 #01032B #2B0118
square
#2B2901 #012B14 #01032B #2B0118
split-complementary
#2B2901 #01182B #14012B
monochromatic
#1E1D01 #1E1D01 #2B2901 #676202 #A39B04

Accessibility & contrast

On white

14.78
#2B2901 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2B2901 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2901
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2901#FFFFFF#000000##FFFFFF
##2B29011.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2803
Tritanopia (blue-blind)
#2F2521
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2b2901;
/* rgb */ color: rgb(43, 41, 1);
/* oklch */ color: oklch(27.4% 0.058 106.7);
Tailwind
colors: {
  custom: {
    50: '#666247',
    500: '#2b2901',
    950: '#000000',
  },
}
SCSS
$custom: #2b2901;
$custom-light: #666247;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2901",
  "rgb": {
    "r": 43,
    "g": 41,
    "b": 1
  },
  "hsl": {
    "h": 57.143,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27432,
    "c": 0.05753,
    "h": 106.7
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#2B2901
secondary
#171B71
accent
#33FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2901

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

Preview Lab → · Contrast checker → · Palette generator →

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