#D9C754#D9C754

#D9C754 is a very light, vivid yellow. Relative luminance 0.562; OKLCH L 82.3% C 0.136 H 100.4°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D9C754
RGBrgb(217, 199, 84)
HSLhsl(52, 64%, 59%)
HSVhsv(52, 61%, 85%)
CMYKcmyk(0%, 8.3%, 61.3%, 14.9%)
CIE-LABlab(79.75, -7.37, 58.30)
CIE-LCHlch(79.75, 58.76, 97.21°)
OKLaboklab(82.29% -0.0246 0.1335)
OKLCHoklch(82.29% 0.136 100.4)
XYZxyz(50.6409, 56.2408, 16.5739)
Luminance0.5624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C754 #5466D9
analogous
#D98554 #D9C754 #A9D954
triadic
#D9C754 #54D9C7 #C754D9
tetradic
#D9C754 #54D985 #5466D9 #D954A9
square
#D9C754 #54D985 #5466D9 #D954A9
split-complementary
#D9C754 #54A9D9 #8554D9
monochromatic
#928320 #C4B02C #D9C754 #E4D786 #EFE8B8

Accessibility & contrast

On white

1.71
#D9C754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D9C754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C754
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C754#FFFFFF#000000##000000
##D9C7541.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C247
Deuteranopia (green-blind)
#DDC95A
Tritanopia (blue-blind)
#E9BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c754;
/* rgb */ color: rgb(217, 199, 84);
/* oklch */ color: oklch(82.3% 0.136 100.4);
Tailwind
colors: {
  custom: {
    50: '#e8d789',
    500: '#d9c754',
    950: '#000000',
  },
}
SCSS
$custom: #d9c754;
$custom-light: #e8d789;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c754",
  "rgb": {
    "r": 217,
    "g": 199,
    "b": 84
  },
  "hsl": {
    "h": 51.88,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82292,
    "c": 0.13578,
    "h": 100.4
  },
  "luminance": 0.56239
}

Semantic roles & 50–950 ramp

primary
#D9C754
secondary
#3A4797
accent
#58E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C754

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

Preview Lab → · Contrast checker → · Palette generator →

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