#2B2802#2B2802

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

Color values

HEX#2B2802
RGBrgb(43, 40, 2)
HSLhsl(56, 91%, 9%)
HSVhsv(56, 95%, 17%)
CMYKcmyk(0%, 7%, 95.3%, 83.1%)
CIE-LABlab(15.67, -4.09, 21.91)
CIE-LCHlch(15.67, 22.29, 100.57°)
OKLaboklab(27.17% -0.0143 0.0534)
OKLCHoklch(27.17% 0.055 105)
XYZxyz(1.7661, 2.0356, 0.3573)
Luminance0.0204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2802 #02052B
analogous
#2B1402 #2B2802 #1A2B02
triadic
#2B2802 #022B28 #28022B
tetradic
#2B2802 #022B14 #02052B #2B021A
square
#2B2802 #022B14 #02052B #2B021A
split-complementary
#2B2802 #021A2B #14022B
monochromatic
#1D1B01 #1D1B01 #2B2802 #655E05 #A09507

Accessibility & contrast

On white

14.92
#2B2802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2802
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2802#FFFFFF#000000##FFFFFF
##2B28021.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b2802;
/* rgb */ color: rgb(43, 40, 2);
/* oklch */ color: oklch(27.2% 0.055 105.0);
Tailwind
colors: {
  custom: {
    50: '#666147',
    500: '#2b2802',
    950: '#000000',
  },
}
SCSS
$custom: #2b2802;
$custom-light: #666147;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2802",
  "rgb": {
    "r": 43,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 55.61,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.27165,
    "c": 0.05523,
    "h": 105
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#2B2802
secondary
#191F70
accent
#38FF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2802

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

Preview Lab → · Contrast checker → · Palette generator →

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