#D5D95D#D5D95D

#D5D95D is a very light, vivid yellow. Relative luminance 0.646; OKLCH L 85.8% C 0.146 H 110.8°. Best body text is #000000 at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#D5D95D
RGBrgb(213, 217, 93)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 57%, 85%)
CMYKcmyk(1.8%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.26, -17.44, 59.25)
CIE-LCHlch(84.26, 61.76, 106.41°)
OKLaboklab(85.83% -0.052 0.1368)
OKLCHoklch(85.83% 0.146 110.8)
XYZxyz(54.2306, 64.5634, 19.9590)
Luminance0.6456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D95D #615DD9
analogous
#D99F5D #D5D95D #97D95D
triadic
#D5D95D #5DD5D9 #D95DD5
tetradic
#D5D95D #5DD99F #615DD9 #D95D97
square
#D5D95D #5DD99F #615DD9 #D95D97
split-complementary
#D5D95D #5D97D9 #9F5DD9
monochromatic
#949824 #C5CA2F #D5D95D #E2E58F #EFF0C0

Accessibility & contrast

On white

1.51
#D5D95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.91
#D5D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D95D
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D95D#FFFFFF#000000##000000
##D5D95D1.001.5113.9113.91
#FFFFFF1.511.0021.0021.00
#00000013.9121.001.001.00
##00000013.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04F
Deuteranopia (green-blind)
#E9D464
Tritanopia (blue-blind)
#E2CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d95d;
/* rgb */ color: rgb(213, 217, 93);
/* oklch */ color: oklch(85.8% 0.146 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e48f',
    500: '#d5d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d95d;
$custom-light: #e4e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d95d",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 61.935,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85826,
    "c": 0.14635,
    "h": 110.8
  },
  "luminance": 0.64562
}

Semantic roles & 50–950 ramp

primary
#D5D95D
secondary
#413E9C
accent
#1CCA21
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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