#2B2502#2B2502

#2B2502 is a dark, muted yellow. Relative luminance 0.018; OKLCH L 26.3% C 0.052 H 99.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#2B2502
RGBrgb(43, 37, 2)
HSLhsl(51, 91%, 9%)
HSVhsv(51, 95%, 17%)
CMYKcmyk(0%, 14%, 95.3%, 83.1%)
CIE-LABlab(14.63, -2.07, 20.58)
CIE-LCHlch(14.63, 20.68, 95.75°)
OKLaboklab(26.34% -0.0086 0.0514)
OKLCHoklch(26.34% 0.052 99.5)
XYZxyz(1.6689, 1.8412, 0.3249)
Luminance0.0184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2502 #02082B
analogous
#2B1102 #2B2502 #1D2B02
triadic
#2B2502 #022B25 #25022B
tetradic
#2B2502 #022B11 #02082B #2B021D
square
#2B2502 #022B11 #02082B #2B021D
split-complementary
#2B2502 #021D2B #11022B
monochromatic
#1D1901 #1D1901 #2B2502 #655705 #A08A07

Accessibility & contrast

On white

15.35
#2B2502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2B2502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2502
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2502#FFFFFF#000000##FFFFFF
##2B25021.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2400
Deuteranopia (green-blind)
#2B2604
Tritanopia (blue-blind)
#2F211E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2b2502;
/* rgb */ color: rgb(43, 37, 2);
/* oklch */ color: oklch(26.3% 0.052 99.5);
Tailwind
colors: {
  custom: {
    50: '#655f47',
    500: '#2b2502',
    950: '#000000',
  },
}
SCSS
$custom: #2b2502;
$custom-light: #655f47;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2502",
  "rgb": {
    "r": 43,
    "g": 37,
    "b": 2
  },
  "hsl": {
    "h": 51.22,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26336,
    "c": 0.05216,
    "h": 99.5
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#2B2502
secondary
#192670
accent
#48FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060400
muted
#7A7977

Preview Lab

Preview with #2B2502

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

Preview Lab → · Contrast checker → · Palette generator →

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