#D5D93D#D5D93D

#D5D93D is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.6% C 0.169 H 111.0°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#D5D93D
RGBrgb(213, 217, 61)
HSLhsl(62, 67%, 55%)
HSVhsv(62, 72%, 85%)
CMYKcmyk(1.8%, 0%, 71.9%, 14.9%)
CIE-LABlab(84.02, -19.34, 71.53)
CIE-LCHlch(84.02, 74.10, 105.13°)
OKLaboklab(85.56% -0.0605 0.158)
OKLCHoklch(85.56% 0.169 111)
XYZxyz(53.0975, 64.1102, 13.9915)
Luminance0.6411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D93D #413DD9
analogous
#D98F3D #D5D93D #87D93D
triadic
#D5D93D #3DD5D9 #D93DD5
tetradic
#D5D93D #3DD98F #413DD9 #D93D87
square
#D5D93D #3DD98F #413DD9 #D93D87
split-complementary
#D5D93D #3D87D9 #8F3DD9
monochromatic
#7F8219 #B2B524 #D5D93D #E0E370 #EBEDA3

Accessibility & contrast

On white

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

On black

13.82
#D5D93D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D93D
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D93D#FFFFFF#000000##000000
##D5D93D1.001.5213.8213.82
#FFFFFF1.521.0021.0021.00
#00000013.8221.001.001.00
##00000013.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EACF1E
Deuteranopia (green-blind)
#EBD449
Tritanopia (blue-blind)
#E4CCBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d93d;
/* rgb */ color: rgb(213, 217, 61);
/* oklch */ color: oklch(85.6% 0.169 111.0);
Tailwind
colors: {
  custom: {
    50: '#e6e47d',
    500: '#d5d93d',
    950: '#000000',
  },
}
SCSS
$custom: #d5d93d;
$custom-light: #e6e47d;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d93d",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 61
  },
  "hsl": {
    "h": 61.538,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85563,
    "c": 0.16918,
    "h": 111
  },
  "luminance": 0.64109
}

Semantic roles & 50–950 ramp

primary
#D5D93D
secondary
#343189
accent
#3EEA42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D93D

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

Preview Lab → · Contrast checker → · Palette generator →

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