#D9C45A#D9C45A

#D9C45A is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.128 H 98.2°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D9C45A
RGBrgb(217, 196, 90)
HSLhsl(50, 63%, 60%)
HSVhsv(50, 59%, 85%)
CMYKcmyk(0%, 9.7%, 58.5%, 14.9%)
CIE-LABlab(79.03, -5.42, 54.81)
CIE-LCHlch(79.03, 55.08, 95.65°)
OKLaboklab(81.74% -0.0183 0.1269)
OKLCHoklch(81.74% 0.128 98.2)
XYZxyz(50.2026, 54.9719, 17.6371)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C45A #5A6FD9
analogous
#D9855A #D9C45A #AED95A
triadic
#D9C45A #5AD9C4 #C45AD9
tetradic
#D9C45A #5AD985 #5A6FD9 #D95AAE
square
#D9C45A #5AD985 #5A6FD9 #D95AAE
split-complementary
#D9C45A #5AAED9 #855AD9
monochromatic
#968323 #C8AE2E #D9C45A #E4D68C #F0E8BD

Accessibility & contrast

On white

1.75
#D9C45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D9C45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C45A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C45A#FFFFFF#000000##000000
##D9C45A1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4F
Deuteranopia (green-blind)
#DBC75F
Tritanopia (blue-blind)
#E8B7AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d9c45a;
/* rgb */ color: rgb(217, 196, 90);
/* oklch */ color: oklch(81.7% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#e8d58c',
    500: '#d9c45a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c45a;
$custom-light: #e8d58c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c45a",
  "rgb": {
    "r": 217,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 50.079,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.81735,
    "c": 0.12819,
    "h": 98.2
  },
  "luminance": 0.5497
}

Semantic roles & 50–950 ramp

primary
#D9C45A
secondary
#3C4C9B
accent
#38CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C45A

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

Preview Lab → · Contrast checker → · Palette generator →

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