#2B2B0F#2B2B0F

#2B2B0F is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.2% C 0.045 H 108.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#2B2B0F
RGBrgb(43, 43, 15)
HSLhsl(60, 48%, 11%)
HSVhsv(60, 65%, 17%)
CMYKcmyk(0%, 0%, 65.1%, 83.1%)
CIE-LABlab(16.87, -4.90, 17.81)
CIE-LCHlch(16.87, 18.47, 105.38°)
OKLaboklab(28.17% -0.0144 0.0421)
OKLCHoklch(28.17% 0.045 108.9)
XYZxyz(1.9464, 2.2759, 0.7886)
Luminance0.0228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2B0F #0F0F2B
analogous
#2B1D0F #2B2B0F #1D2B0F
triadic
#2B2B0F #0F2B2B #2B0F2B
tetradic
#2B2B0F #0F2B1D #0F0F2B #2B0F1D
square
#2B2B0F #0F2B1D #0F0F2B #2B0F1D
split-complementary
#2B2B0F #0F1D2B #1D0F2B
monochromatic
#171708 #171708 #2B2B0F #58581F #86862F

Accessibility & contrast

On white

14.43
#2B2B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#2B2B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2B0F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2B0F#FFFFFF#000000##FFFFFF
##2B2B0F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#2E2825
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #2b2b0f;
/* rgb */ color: rgb(43, 43, 15);
/* oklch */ color: oklch(28.2% 0.045 108.9);
Tailwind
colors: {
  custom: {
    50: '#65644e',
    500: '#2b2b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2b0f;
$custom-light: #65644e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2b0f",
  "rgb": {
    "r": 43,
    "g": 43,
    "b": 15
  },
  "hsl": {
    "h": 60,
    "s": 48.276,
    "l": 11.373
  },
  "oklch": {
    "l": 0.28169,
    "c": 0.04451,
    "h": 108.9
  },
  "luminance": 0.02276
}

Semantic roles & 50–950 ramp

primary
#2B2B0F
secondary
#323264
accent
#50D850
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2B2B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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