#D8DA5F#D8DA5F

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

Color values

HEX#D8DA5F
RGBrgb(216, 218, 95)
HSLhsl(61, 62%, 61%)
HSVhsv(61, 56%, 85%)
CMYKcmyk(0.9%, 0%, 56.4%, 14.5%)
CIE-LABlab(84.78, -16.57, 59.01)
CIE-LCHlch(84.78, 61.30, 105.69°)
OKLaboklab(86.3% -0.0495 0.1365)
OKLCHoklch(86.3% 0.145 110)
XYZxyz(55.4573, 65.5693, 20.5590)
Luminance0.6557 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA5F #615FDA
analogous
#DA9F5F #D8DA5F #9BDA5F
triadic
#D8DA5F #5FD8DA #DA5FD8
tetradic
#D8DA5F #5FDA9F #615FDA #DA5F9B
square
#D8DA5F #5FDA9F #615FDA #DA5F9B
split-complementary
#D8DA5F #5F9BDA #9F5FDA
monochromatic
#999B24 #CACD2F #D8DA5F #E4E591 #F0F1C2

Accessibility & contrast

On white

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

On black

14.11
#D8DA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA5F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA5F#FFFFFF#000000##000000
##D8DA5F1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8da5f;
/* rgb */ color: rgb(216, 218, 95);
/* oklch */ color: oklch(86.3% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#e7e591',
    500: '#d8da5f',
    950: '#000000',
  },
}
SCSS
$custom: #d8da5f;
$custom-light: #e7e591;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da5f",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 95
  },
  "hsl": {
    "h": 60.976,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86303,
    "c": 0.14518,
    "h": 110
  },
  "luminance": 0.65568
}

Semantic roles & 50–950 ramp

primary
#D8DA5F
secondary
#403E9F
accent
#1BCA1E
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D8DA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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