#D1B45A#D1B45A

#D1B45A is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.7% C 0.115 H 91.7°. Best body text is #000000 at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#D1B45A
RGBrgb(209, 180, 90)
HSLhsl(45, 56%, 59%)
HSVhsv(45, 57%, 82%)
CMYKcmyk(0%, 13.9%, 56.9%, 18%)
CIE-LABlab(74.15, -0.44, 49.04)
CIE-LCHlch(74.15, 49.05, 90.51°)
OKLaboklab(77.71% -0.0034 0.1146)
OKLCHoklch(77.71% 0.115 91.7)
XYZxyz(44.4631, 46.9382, 16.3889)
Luminance0.4694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1B45A #5A77D1
analogous
#D1785A #D1B45A #B2D15A
triadic
#D1B45A #5AD1B4 #B45AD1
tetradic
#D1B45A #5AD178 #5A77D1 #D15AB2
square
#D1B45A #5AD178 #5A77D1 #D15AB2
split-complementary
#D1B45A #5AB2D1 #785AD1
monochromatic
#8A7227 #BA9934 #D1B45A #DECA8A #ECE0BA

Accessibility & contrast

On white

2.02
#D1B45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.39
#D1B45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1B45A
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1B45A#FFFFFF#000000##000000
##D1B45A1.002.0210.3910.39
#FFFFFF2.021.0021.0021.00
#00000010.3921.001.001.00
##00000010.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B151
Deuteranopia (green-blind)
#CCBA5E
Tritanopia (blue-blind)
#E0A8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #d1b45a;
/* rgb */ color: rgb(209, 180, 90);
/* oklch */ color: oklch(77.7% 0.115 91.7);
Tailwind
colors: {
  custom: {
    50: '#e2ca8b',
    500: '#d1b45a',
    950: '#000000',
  },
}
SCSS
$custom: #d1b45a;
$custom-light: #e2ca8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1b45a",
  "rgb": {
    "r": 209,
    "g": 180,
    "b": 90
  },
  "hsl": {
    "h": 45.378,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77709,
    "c": 0.11467,
    "h": 91.7
  },
  "luminance": 0.46936
}

Semantic roles & 50–950 ramp

primary
#D1B45A
secondary
#ACB7DB
accent
#6DE048
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #D1B45A

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

Preview Lab → · Contrast checker → · Palette generator →

#D1B45A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva