#D9DA5C#D9DA5C

#D9DA5C is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.4% C 0.148 H 109.6°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#D9DA5C
RGBrgb(217, 218, 92)
HSLhsl(60, 63%, 61%)
HSVhsv(60, 58%, 85%)
CMYKcmyk(0.5%, 0%, 57.8%, 14.5%)
CIE-LABlab(84.83, -16.38, 60.40)
CIE-LCHlch(84.83, 62.58, 105.18°)
OKLaboklab(86.35% -0.0494 0.139)
OKLCHoklch(86.35% 0.148 109.6)
XYZxyz(55.6200, 65.6687, 19.8685)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9DA5C #5D5CDA
analogous
#DA9C5C #D9DA5C #9ADA5C
triadic
#D9DA5C #5CD9DA #DA5CD9
tetradic
#D9DA5C #5CDA9C #5D5CDA #DA5C9A
square
#D9DA5C #5CDA9C #5D5CDA #DA5C9A
split-complementary
#D9DA5C #5C9ADA #9C5CDA
monochromatic
#989923 #CACB2E #D9DA5C #E5E58E #F0F1C0

Accessibility & contrast

On white

1.49
#D9DA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#D9DA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9DA5C
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9DA5C#FFFFFF#000000##000000
##D9DA5C1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24E
Deuteranopia (green-blind)
#EBD663
Tritanopia (blue-blind)
#E7CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d9da5c;
/* rgb */ color: rgb(217, 218, 92);
/* oklch */ color: oklch(86.4% 0.148 109.6);
Tailwind
colors: {
  custom: {
    50: '#e7e58f',
    500: '#d9da5c',
    950: '#000000',
  },
}
SCSS
$custom: #d9da5c;
$custom-light: #e7e58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9da5c",
  "rgb": {
    "r": 217,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 60.476,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86354,
    "c": 0.14755,
    "h": 109.6
  },
  "luminance": 0.65667
}

Semantic roles & 50–950 ramp

primary
#D9DA5C
secondary
#3E3D9D
accent
#1BCB1C
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9DA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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