#D5D94C#D5D94C

#D5D94C is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 85.7% C 0.160 H 110.9°. Best body text is #000000 at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#D5D94C
RGBrgb(213, 217, 76)
HSLhsl(62, 65%, 57%)
HSVhsv(62, 65%, 85%)
CMYKcmyk(1.8%, 0%, 65%, 14.9%)
CIE-LABlab(84.12, -18.56, 66.15)
CIE-LCHlch(84.12, 68.71, 105.67°)
OKLaboklab(85.67% -0.0569 0.1491)
OKLCHoklch(85.67% 0.16 110.9)
XYZxyz(53.5596, 64.2950, 16.4249)
Luminance0.6429 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D94C #504CD9
analogous
#D9964C #D5D94C #8FD94C
triadic
#D5D94C #4CD5D9 #D94CD5
tetradic
#D5D94C #4CD996 #504CD9 #D94C8F
square
#D5D94C #4CD996 #504CD9 #D94C8F
split-complementary
#D5D94C #4C8FD9 #964CD9
monochromatic
#8A8D1E #BBBF29 #D5D94C #E1E47E #EDEEB1

Accessibility & contrast

On white

1.52
#D5D94C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#D5D94C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D94C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D94C#FFFFFF#000000##000000
##D5D94C1.001.5213.8613.86
#FFFFFF1.521.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D038
Deuteranopia (green-blind)
#EAD456
Tritanopia (blue-blind)
#E3CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d94c;
/* rgb */ color: rgb(213, 217, 76);
/* oklch */ color: oklch(85.7% 0.160 110.9);
Tailwind
colors: {
  custom: {
    50: '#e5e485',
    500: '#d5d94c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d94c;
$custom-light: #e5e485;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d94c",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 76
  },
  "hsl": {
    "h": 61.702,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8567,
    "c": 0.1596,
    "h": 110.9
  },
  "luminance": 0.64294
}

Semantic roles & 50–950 ramp

primary
#D5D94C
secondary
#393792
accent
#40E845
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D5D94C

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

Preview Lab → · Contrast checker → · Palette generator →

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