#D8DF74#D8DF74

#D8DF74 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.6% C 0.131 H 112.1°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#D8DF74
RGBrgb(216, 223, 116)
HSLhsl(64, 63%, 66%)
HSVhsv(64, 48%, 87%)
CMYKcmyk(3.1%, 0%, 48%, 12.5%)
CIE-LABlab(86.32, -17.29, 51.21)
CIE-LCHlch(86.32, 54.05, 108.66°)
OKLaboklab(87.61% -0.0495 0.1217)
OKLCHoklch(87.61% 0.131 112.1)
XYZxyz(57.8600, 68.6363, 26.7197)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DF74 #7B74DF
analogous
#DFB174 #D8DF74 #A3DF74
triadic
#D8DF74 #74D8DF #DF74D8
tetradic
#D8DF74 #74DFB1 #7B74DF #DF74A3
square
#D8DF74 #74DFB1 #7B74DF #DF74A3
split-complementary
#D8DF74 #74A3DF #B174DF
monochromatic
#A7B029 #CAD442 #D8DF74 #E6EAA6 #F4F6D7

Accessibility & contrast

On white

1.43
#D8DF74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#D8DF74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DF74
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DF74#FFFFFF#000000##000000
##D8DF741.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD76A
Deuteranopia (green-blind)
#EDD979
Tritanopia (blue-blind)
#E4D4C6
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8df74;
/* rgb */ color: rgb(216, 223, 116);
/* oklch */ color: oklch(87.6% 0.131 112.1);
Tailwind
colors: {
  custom: {
    50: '#e6e89e',
    500: '#d8df74',
    950: '#000000',
  },
}
SCSS
$custom: #d8df74;
$custom-light: #e6e89e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8df74",
  "rgb": {
    "r": 216,
    "g": 223,
    "b": 116
  },
  "hsl": {
    "h": 63.925,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87608,
    "c": 0.13134,
    "h": 112.1
  },
  "luminance": 0.68635
}

Semantic roles & 50–950 ramp

primary
#D8DF74
secondary
#4D45B2
accent
#1BCA27
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16160F
muted
#848480

Preview Lab

Preview with #D8DF74

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

Preview Lab → · Contrast checker → · Palette generator →

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