#D5D95E#D5D95E

#D5D95E 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.92:1 contrast (WCAG AA passes).

Color values

HEX#D5D95E
RGBrgb(213, 217, 94)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 57%, 85%)
CMYKcmyk(1.8%, 0%, 56.7%, 14.9%)
CIE-LABlab(84.27, -17.37, 58.82)
CIE-LCHlch(84.27, 61.33, 106.45°)
OKLaboklab(85.84% -0.0517 0.136)
OKLCHoklch(85.84% 0.146 110.8)
XYZxyz(54.2752, 64.5812, 20.1938)
Luminance0.6458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D95E #625ED9
analogous
#D99F5E #D5D95E #97D95E
triadic
#D5D95E #5ED5D9 #D95ED5
tetradic
#D5D95E #5ED99F #625ED9 #D95E97
square
#D5D95E #5ED99F #625ED9 #D95E97
split-complementary
#D5D95E #5E97D9 #9F5ED9
monochromatic
#959924 #C5CA30 #D5D95E #E2E590 #EFF0C1

Accessibility & contrast

On white

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

On black

13.92
#D5D95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D95E
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D95E#FFFFFF#000000##000000
##D5D95E1.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d95e;
/* rgb */ color: rgb(213, 217, 94);
/* oklch */ color: oklch(85.8% 0.146 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e490',
    500: '#d5d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d95e;
$custom-light: #e4e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d95e",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 61.951,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85837,
    "c": 0.14551,
    "h": 110.8
  },
  "luminance": 0.6458
}

Semantic roles & 50–950 ramp

primary
#D5D95E
secondary
#413E9D
accent
#1CCA22
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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