#D8DA5C#D8DA5C

#D8DA5C is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.3% C 0.148 H 110.0°. Best body text is #000000 at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#D8DA5C
RGBrgb(216, 218, 92)
HSLhsl(61, 63%, 61%)
HSVhsv(61, 58%, 85%)
CMYKcmyk(0.9%, 0%, 57.8%, 14.5%)
CIE-LABlab(84.75, -16.79, 60.29)
CIE-LCHlch(84.75, 62.59, 105.56°)
OKLaboklab(86.27% -0.0505 0.1388)
OKLCHoklch(86.27% 0.148 110)
XYZxyz(55.3236, 65.5158, 19.8547)
Luminance0.6551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA5C #5E5CDA
analogous
#DA9D5C #D8DA5C #99DA5C
triadic
#D8DA5C #5CD8DA #DA5CD8
tetradic
#D8DA5C #5CDA9D #5E5CDA #DA5C99
square
#D8DA5C #5CDA9D #5E5CDA #DA5C99
split-complementary
#D8DA5C #5C99DA #9D5CDA
monochromatic
#979923 #C8CB2E #D8DA5C #E4E58E #F0F1C0

Accessibility & contrast

On white

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

On black

14.10
#D8DA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA5C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA5C#FFFFFF#000000##000000
##D8DA5C1.001.4914.1014.10
#FFFFFF1.491.0021.0021.00
#00000014.1021.001.001.00
##00000014.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD14E
Deuteranopia (green-blind)
#EBD563
Tritanopia (blue-blind)
#E6CEBF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8da5c;
/* rgb */ color: rgb(216, 218, 92);
/* oklch */ color: oklch(86.3% 0.148 110.0);
Tailwind
colors: {
  custom: {
    50: '#e7e58f',
    500: '#d8da5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8da5c;
$custom-light: #e7e58f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da5c",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 92
  },
  "hsl": {
    "h": 60.952,
    "s": 63,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86272,
    "c": 0.14772,
    "h": 110
  },
  "luminance": 0.65514
}

Semantic roles & 50–950 ramp

primary
#D8DA5C
secondary
#3F3D9D
accent
#1BCB1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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