#2B2801#2B2801

#2B2801 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 27.2% C 0.056 H 105.1°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#2B2801
RGBrgb(43, 40, 1)
HSLhsl(56, 95%, 9%)
HSVhsv(56, 98%, 17%)
CMYKcmyk(0%, 7%, 97.7%, 83.1%)
CIE-LABlab(15.66, -4.18, 22.30)
CIE-LCHlch(15.66, 22.69, 100.61°)
OKLaboklab(27.15% -0.0147 0.0545)
OKLCHoklch(27.15% 0.056 105.1)
XYZxyz(1.7606, 2.0334, 0.3285)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2801 #01042B
analogous
#2B1301 #2B2801 #192B01
triadic
#2B2801 #012B28 #28012B
tetradic
#2B2801 #012B13 #01042B #2B0119
square
#2B2801 #012B13 #01042B #2B0119
split-complementary
#2B2801 #01192B #13012B
monochromatic
#1E1C01 #1E1C01 #2B2801 #676002 #A39704

Accessibility & contrast

On white

14.93
#2B2801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#2B2801 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2801
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2801#FFFFFF#000000##FFFFFF
##2B28011.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2600
Deuteranopia (green-blind)
#2E2803
Tritanopia (blue-blind)
#2F2421
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2b2801;
/* rgb */ color: rgb(43, 40, 1);
/* oklch */ color: oklch(27.2% 0.056 105.1);
Tailwind
colors: {
  custom: {
    50: '#666147',
    500: '#2b2801',
    950: '#000000',
  },
}
SCSS
$custom: #2b2801;
$custom-light: #666147;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2801",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 1
  },
  "hsl": {
    "h": 55.714,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.27152,
    "c": 0.05643,
    "h": 105.1
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#2B2801
secondary
#171D71
accent
#38FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2801

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

Preview Lab → · Contrast checker → · Palette generator →

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