#D8DA3C#D8DA3C

#D8DA3C is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.0% C 0.170 H 110.2°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#D8DA3C
RGBrgb(216, 218, 60)
HSLhsl(61, 68%, 55%)
HSVhsv(61, 72%, 85%)
CMYKcmyk(0.9%, 0%, 72.5%, 14.5%)
CIE-LABlab(84.52, -18.63, 72.42)
CIE-LCHlch(84.52, 74.77, 104.43°)
OKLaboklab(86.02% -0.0588 0.1596)
OKLCHoklch(86.02% 0.17 110.2)
XYZxyz(54.2078, 65.0695, 13.9783)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA3C #3E3CDA
analogous
#DA8D3C #D8DA3C #89DA3C
triadic
#D8DA3C #3CD8DA #DA3CD8
tetradic
#D8DA3C #3CDA8D #3E3CDA #DA3C89
square
#D8DA3C #3CDA8D #3E3CDA #DA3C89
split-complementary
#D8DA3C #3C89DA #8D3CDA
monochromatic
#818319 #B4B623 #D8DA3C #E2E46F #EDEEA3

Accessibility & contrast

On white

1.50
#D8DA3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.01
#D8DA3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA3C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA3C#FFFFFF#000000##000000
##D8DA3C1.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD11B
Deuteranopia (green-blind)
#EDD549
Tritanopia (blue-blind)
#E7CCBC
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8da3c;
/* rgb */ color: rgb(216, 218, 60);
/* oklch */ color: oklch(86.0% 0.170 110.2);
Tailwind
colors: {
  custom: {
    50: '#e8e57d',
    500: '#d8da3c',
    950: '#000000',
  },
}
SCSS
$custom: #d8da3c;
$custom-light: #e8e57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da3c",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 60
  },
  "hsl": {
    "h": 60.759,
    "s": 68.103,
    "l": 54.51
  },
  "oklch": {
    "l": 0.86015,
    "c": 0.17008,
    "h": 110.2
  },
  "luminance": 0.65068
}

Semantic roles & 50–950 ramp

primary
#D8DA3C
secondary
#323189
accent
#3DEB3F
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8DA3C

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

Preview Lab → · Contrast checker → · Palette generator →

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