#2D280F#2D280F

#2D280F is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.6% C 0.041 H 98.2°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#2D280F
RGBrgb(45, 40, 15)
HSLhsl(50, 50%, 12%)
HSVhsv(50, 67%, 18%)
CMYKcmyk(0%, 11.1%, 66.7%, 82.4%)
CIE-LABlab(16.05, -1.82, 16.84)
CIE-LCHlch(16.05, 16.94, 96.17°)
OKLaboklab(27.57% -0.0058 0.0401)
OKLCHoklch(27.57% 0.041 98.2)
XYZxyz(1.9273, 2.1100, 0.7576)
Luminance0.0211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D280F #0F142D
analogous
#2D190F #2D280F #232D0F
triadic
#2D280F #0F2D28 #280F2D
tetradic
#2D280F #0F2D19 #0F142D #2D0F23
square
#2D280F #0F2D19 #0F142D #2D0F23
split-complementary
#2D280F #0F232D #190F2D
monochromatic
#171408 #171408 #2D280F #5B511E #897A2E

Accessibility & contrast

On white

14.77
#2D280F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D280F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D280F#FFFFFF#000000##FFFFFF
##2D280F1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d280f;
/* rgb */ color: rgb(45, 40, 15);
/* oklch */ color: oklch(27.6% 0.041 98.2);
Tailwind
colors: {
  custom: {
    50: '#67614e',
    500: '#2d280f',
    950: '#000000',
  },
}
SCSS
$custom: #2d280f;
$custom-light: #67614e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d280f",
  "rgb": {
    "r": 45,
    "g": 40,
    "b": 15
  },
  "hsl": {
    "h": 50,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27571,
    "c": 0.04053,
    "h": 98.2
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#2D280F
secondary
#313A66
accent
#65DA4E
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #2D280F

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

Preview Lab → · Contrast checker → · Palette generator →

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