#2D280C#2D280C

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

Color values

HEX#2D280C
RGBrgb(45, 40, 12)
HSLhsl(51, 58%, 11%)
HSVhsv(51, 73%, 18%)
CMYKcmyk(0%, 11.1%, 73.3%, 82.4%)
CIE-LABlab(16.01, -2.12, 18.27)
CIE-LCHlch(16.01, 18.39, 96.61°)
OKLaboklab(27.53% -0.0071 0.0435)
OKLCHoklch(27.53% 0.044 99.3)
XYZxyz(1.9074, 2.1021, 0.6530)
Luminance0.0210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D280C #0C112D
analogous
#2D170C #2D280C #212D0C
triadic
#2D280C #0C2D28 #280C2D
tetradic
#2D280C #0C2D17 #0C112D #2D0C21
square
#2D280C #0C2D17 #0C112D #2D0C21
split-complementary
#2D280C #0C212D #170C2D
monochromatic
#181506 #181506 #2D280C #5D5319 #8E7E26

Accessibility & contrast

On white

14.78
#2D280C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D280C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D280C#FFFFFF#000000##FFFFFF
##2D280C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d280c;
/* rgb */ color: rgb(45, 40, 12);
/* oklch */ color: oklch(27.5% 0.044 99.3);
Tailwind
colors: {
  custom: {
    50: '#67614c',
    500: '#2d280c',
    950: '#000000',
  },
}
SCSS
$custom: #2d280c;
$custom-light: #67614c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d280c",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 12
  },
  "hsl": {
    "h": 50.909,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.27526,
    "c": 0.04405,
    "h": 99.3
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#2D280C
secondary
#2C3569
accent
#5EE147
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D280C

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

Preview Lab → · Contrast checker → · Palette generator →

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