#D5D95F#D5D95F

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

Color values

HEX#D5D95F
RGBrgb(213, 217, 95)
HSLhsl(62, 62%, 61%)
HSVhsv(62, 56%, 85%)
CMYKcmyk(1.8%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.28, -17.29, 58.39)
CIE-LCHlch(84.28, 60.90, 106.50°)
OKLaboklab(85.85% -0.0514 0.1352)
OKLCHoklch(85.85% 0.145 110.8)
XYZxyz(54.3204, 64.5993, 20.4317)
Luminance0.6460 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D95F #635FD9
analogous
#D9A05F #D5D95F #98D95F
triadic
#D5D95F #5FD5D9 #D95FD5
tetradic
#D5D95F #5FD9A0 #635FD9 #D95F98
square
#D5D95F #5FD9A0 #635FD9 #D95F98
split-complementary
#D5D95F #5F98D9 #A05FD9
monochromatic
#959924 #C6CB30 #D5D95F #E2E590 #EFF0C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D95F#FFFFFF#000000##000000
##D5D95F1.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)
#E8D052
Deuteranopia (green-blind)
#E9D466
Tritanopia (blue-blind)
#E2CDBE
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d95f;
/* rgb */ color: rgb(213, 217, 95);
/* oklch */ color: oklch(85.8% 0.145 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e490',
    500: '#d5d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d95f;
$custom-light: #e4e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d95f",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 61.967,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.85847,
    "c": 0.14464,
    "h": 110.8
  },
  "luminance": 0.64598
}

Semantic roles & 50–950 ramp

primary
#D5D95F
secondary
#423F9E
accent
#1CC922
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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