#2D280B#2D280B

#2D280B is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.5% C 0.045 H 99.6°. Best body text is #FFFFFF at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#2D280B
RGBrgb(45, 40, 11)
HSLhsl(51, 61%, 11%)
HSVhsv(51, 76%, 18%)
CMYKcmyk(0%, 11.1%, 75.6%, 82.4%)
CIE-LABlab(16.00, -2.21, 18.70)
CIE-LCHlch(16.00, 18.83, 96.73°)
OKLaboklab(27.51% -0.0075 0.0445)
OKLCHoklch(27.51% 0.045 99.6)
XYZxyz(1.9015, 2.0997, 0.6217)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D280B #0B102D
analogous
#2D170B #2D280B #212D0B
triadic
#2D280B #0B2D28 #280B2D
tetradic
#2D280B #0B2D17 #0B102D #2D0B21
square
#2D280B #0B2D17 #0B102D #2D0B21
split-complementary
#2D280B #0B212D #170B2D
monochromatic
#191606 #191606 #2D280B #5E5417 #8F7F23

Accessibility & contrast

On white

14.79
#2D280B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#2D280B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D280B
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D280B#FFFFFF#000000##FFFFFF
##2D280B1.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2708
Deuteranopia (green-blind)
#2E290C
Tritanopia (blue-blind)
#312522
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #2d280b;
/* rgb */ color: rgb(45, 40, 11);
/* oklch */ color: oklch(27.5% 0.045 99.6);
Tailwind
colors: {
  custom: {
    50: '#67614c',
    500: '#2d280b',
    950: '#000000',
  },
}
SCSS
$custom: #2d280b;
$custom-light: #67614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d280b",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 11
  },
  "hsl": {
    "h": 51.176,
    "s": 60.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.27513,
    "c": 0.04515,
    "h": 99.6
  },
  "luminance": 0.021
}

Semantic roles & 50–950 ramp

primary
#2D280B
secondary
#2A3469
accent
#5BE444
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D280B

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

Preview Lab → · Contrast checker → · Palette generator →

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