#2B2D0F#2B2D0F

#2B2D0F is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.047 H 112.5°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#2B2D0F
RGBrgb(43, 45, 15)
HSLhsl(64, 50%, 12%)
HSVhsv(64, 67%, 18%)
CMYKcmyk(4.4%, 0%, 66.7%, 82.4%)
CIE-LABlab(17.58, -6.20, 18.67)
CIE-LCHlch(17.58, 19.67, 108.38°)
OKLaboklab(28.73% -0.0181 0.0438)
OKLCHoklch(28.73% 0.047 112.5)
XYZxyz(2.0209, 2.4249, 0.8134)
Luminance0.0243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2D0F #110F2D
analogous
#2D200F #2B2D0F #1C2D0F
triadic
#2B2D0F #0F2B2D #2D0F2B
tetradic
#2B2D0F #0F2D20 #110F2D #2D0F1C
square
#2B2D0F #0F2D20 #110F2D #2D0F1C
split-complementary
#2B2D0F #0F1C2D #200F2D
monochromatic
#161708 #161708 #2B2D0F #575B1E #83892E

Accessibility & contrast

On white

14.14
#2B2D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#2B2D0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2D0F
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2D0F#FFFFFF#000000##FFFFFF
##2B2D0F1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#312B11
Tritanopia (blue-blind)
#2E2A26
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #2b2d0f;
/* rgb */ color: rgb(43, 45, 15);
/* oklch */ color: oklch(28.7% 0.047 112.5);
Tailwind
colors: {
  custom: {
    50: '#65654e',
    500: '#2b2d0f',
    950: '#000000',
  },
}
SCSS
$custom: #2b2d0f;
$custom-light: #65654e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2d0f",
  "rgb": {
    "r": 43,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 64,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28729,
    "c": 0.04745,
    "h": 112.5
  },
  "luminance": 0.02425
}

Semantic roles & 50–950 ramp

primary
#2B2D0F
secondary
#353166
accent
#4EDA58
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #2B2D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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