#D8DA5A#D8DA5A

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

Color values

HEX#D8DA5A
RGBrgb(216, 218, 90)
HSLhsl(61, 63%, 60%)
HSVhsv(61, 59%, 85%)
CMYKcmyk(0.9%, 0%, 58.7%, 14.5%)
CIE-LABlab(84.73, -16.93, 61.13)
CIE-LCHlch(84.73, 63.43, 105.48°)
OKLaboklab(86.25% -0.0511 0.1404)
OKLCHoklch(86.25% 0.149 110)
XYZxyz(55.2373, 65.4813, 19.4003)
Luminance0.6548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA5A #5C5ADA
analogous
#DA9C5A #D8DA5A #98DA5A
triadic
#D8DA5A #5AD8DA #DA5AD8
tetradic
#D8DA5A #5ADA9C #5C5ADA #DA5A98
square
#D8DA5A #5ADA9C #5C5ADA #DA5A98
split-complementary
#D8DA5A #5A98DA #9C5ADA
monochromatic
#969822 #C7CA2D #D8DA5A #E4E58C #F0F0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8DA5A#FFFFFF#000000##000000
##D8DA5A1.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)
#EAD14B
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#E6CDBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8da5a;
/* rgb */ color: rgb(216, 218, 90);
/* oklch */ color: oklch(86.3% 0.149 110.0);
Tailwind
colors: {
  custom: {
    50: '#e7e58e',
    500: '#d8da5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8da5a;
$custom-light: #e7e58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da5a",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 90
  },
  "hsl": {
    "h": 60.938,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86252,
    "c": 0.14938,
    "h": 110
  },
  "luminance": 0.6548
}

Semantic roles & 50–950 ramp

primary
#D8DA5A
secondary
#3E3C9C
accent
#1ACB1D
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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