#D5D93F#D5D93F

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

Color values

HEX#D5D93F
RGBrgb(213, 217, 63)
HSLhsl(62, 67%, 55%)
HSVhsv(62, 71%, 85%)
CMYKcmyk(1.8%, 0%, 71%, 14.9%)
CIE-LABlab(84.03, -19.25, 70.86)
CIE-LCHlch(84.03, 73.43, 105.20°)
OKLaboklab(85.58% -0.0601 0.1569)
OKLCHoklch(85.58% 0.168 111)
XYZxyz(53.1524, 64.1321, 14.2805)
Luminance0.6413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D93F #433FD9
analogous
#D9903F #D5D93F #88D93F
triadic
#D5D93F #3FD5D9 #D93FD5
tetradic
#D5D93F #3FD990 #433FD9 #D93F88
square
#D5D93F #3FD990 #433FD9 #D93F88
split-complementary
#D5D93F #3F88D9 #903FD9
monochromatic
#81841A #B3B724 #D5D93F #E0E372 #EBEDA5

Accessibility & contrast

On white

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

On black

13.83
#D5D93F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D93F
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D93F#FFFFFF#000000##000000
##D5D93F1.001.5213.8313.83
#FFFFFF1.521.0021.0021.00
#00000013.8321.001.001.00
##00000013.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d93f;
/* rgb */ color: rgb(213, 217, 63);
/* oklch */ color: oklch(85.6% 0.168 111.0);
Tailwind
colors: {
  custom: {
    50: '#e6e47e',
    500: '#d5d93f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d93f;
$custom-light: #e6e47e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d93f",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 63
  },
  "hsl": {
    "h": 61.558,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.85576,
    "c": 0.16802,
    "h": 111
  },
  "luminance": 0.64131
}

Semantic roles & 50–950 ramp

primary
#D5D93F
secondary
#34328A
accent
#3EEA42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D93F

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

Preview Lab → · Contrast checker → · Palette generator →

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