#2B2702#2B2702

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

Color values

HEX#2B2702
RGBrgb(43, 39, 2)
HSLhsl(54, 91%, 9%)
HSVhsv(54, 95%, 17%)
CMYKcmyk(0%, 9.3%, 95.3%, 83.1%)
CIE-LABlab(15.32, -3.42, 21.47)
CIE-LCHlch(15.32, 21.74, 99.06°)
OKLaboklab(26.89% -0.0124 0.0527)
OKLCHoklch(26.89% 0.054 103.2)
XYZxyz(1.7328, 1.9691, 0.3462)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2702 #02062B
analogous
#2B1302 #2B2702 #1B2B02
triadic
#2B2702 #022B27 #27022B
tetradic
#2B2702 #022B13 #02062B #2B021B
square
#2B2702 #022B13 #02062B #2B021B
split-complementary
#2B2702 #021B2B #13022B
monochromatic
#1D1B01 #1D1B01 #2B2702 #655C05 #A09107

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B2702#FFFFFF#000000##FFFFFF
##2B27021.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)
#2D2704
Tritanopia (blue-blind)
#2F2320
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2b2702;
/* rgb */ color: rgb(43, 39, 2);
/* oklch */ color: oklch(26.9% 0.054 103.2);
Tailwind
colors: {
  custom: {
    50: '#656047',
    500: '#2b2702',
    950: '#000000',
  },
}
SCSS
$custom: #2b2702;
$custom-light: #656047;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2702",
  "rgb": {
    "r": 43,
    "g": 39,
    "b": 2
  },
  "hsl": {
    "h": 54.146,
    "s": 91.111,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26887,
    "c": 0.05415,
    "h": 103.2
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#2B2702
secondary
#192170
accent
#3EFF29
background
#F6F5F4
surface
#EBE9E6
border
#C6C5C2
text
#060500
muted
#7A7977

Preview Lab

Preview with #2B2702

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

Preview Lab → · Contrast checker → · Palette generator →

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