#2B2701#2B2701

#2B2701 is a dark, muted yellow. Relative luminance 0.020; OKLCH L 26.9% C 0.055 H 103.5°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#2B2701
RGBrgb(43, 39, 1)
HSLhsl(54, 95%, 9%)
HSVhsv(54, 98%, 17%)
CMYKcmyk(0%, 9.3%, 97.7%, 83.1%)
CIE-LABlab(15.31, -3.51, 21.86)
CIE-LCHlch(15.31, 22.14, 99.13°)
OKLaboklab(26.87% -0.0129 0.0539)
OKLCHoklch(26.87% 0.055 103.5)
XYZxyz(1.7273, 1.9669, 0.3174)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2701 #01052B
analogous
#2B1201 #2B2701 #1A2B01
triadic
#2B2701 #012B27 #27012B
tetradic
#2B2701 #012B12 #01052B #2B011A
square
#2B2701 #012B12 #01052B #2B011A
split-complementary
#2B2701 #011A2B #12012B
monochromatic
#1E1B01 #1E1B01 #2B2701 #675D02 #A39304

Accessibility & contrast

On white

15.07
#2B2701 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2B2701 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2701
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2701#FFFFFF#000000##FFFFFF
##2B27011.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2500
Deuteranopia (green-blind)
#2D2703
Tritanopia (blue-blind)
#2F2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b2701;
/* rgb */ color: rgb(43, 39, 1);
/* oklch */ color: oklch(26.9% 0.055 103.5);
Tailwind
colors: {
  custom: {
    50: '#666047',
    500: '#2b2701',
    950: '#000000',
  },
}
SCSS
$custom: #2b2701;
$custom-light: #666047;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2701",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 1
  },
  "hsl": {
    "h": 54.286,
    "s": 95.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26874,
    "c": 0.05538,
    "h": 103.5
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#2B2701
secondary
#171F71
accent
#3DFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2701

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

Preview Lab → · Contrast checker → · Palette generator →

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