#D8DA71#D8DA71

#D8DA71 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.129 H 109.8°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#D8DA71
RGBrgb(216, 218, 113)
HSLhsl(61, 59%, 65%)
HSVhsv(61, 48%, 85%)
CMYKcmyk(0.9%, 0%, 48.2%, 14.5%)
CIE-LABlab(84.96, -15.09, 50.99)
CIE-LCHlch(84.96, 53.18, 106.49°)
OKLaboklab(86.51% -0.0435 0.121)
OKLCHoklch(86.51% 0.129 109.8)
XYZxyz(56.3721, 65.9352, 25.3768)
Luminance0.6593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA71 #7371DA
analogous
#DAA871 #D8DA71 #A3DA71
triadic
#D8DA71 #71D8DA #DA71D8
tetradic
#D8DA71 #71DAA8 #7371DA #DA71A3
square
#D8DA71 #71DAA8 #7371DA #DA71A3
split-complementary
#D8DA71 #71A3DA #A871DA
monochromatic
#A3A52B #CBCD40 #D8DA71 #E5E7A2 #F3F3D2

Accessibility & contrast

On white

1.48
#D8DA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#D8DA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA71
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA71#FFFFFF#000000##000000
##D8DA711.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#E9D676
Tritanopia (blue-blind)
#E4CFC2
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d8da71;
/* rgb */ color: rgb(216, 218, 113);
/* oklch */ color: oklch(86.5% 0.129 109.8);
Tailwind
colors: {
  custom: {
    50: '#e6e59c',
    500: '#d8da71',
    950: '#000000',
  },
}
SCSS
$custom: #d8da71;
$custom-light: #e6e59c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da71",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 113
  },
  "hsl": {
    "h": 61.143,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.86512,
    "c": 0.12853,
    "h": 109.8
  },
  "luminance": 0.65934
}

Semantic roles & 50–950 ramp

primary
#D8DA71
secondary
#4846A9
accent
#1FC622
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8DA71

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

Preview Lab → · Contrast checker → · Palette generator →

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