#D5D53F#D5D53F

#D5D53F is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.164 H 109.4°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#D5D53F
RGBrgb(213, 213, 63)
HSLhsl(60, 64%, 54%)
HSVhsv(60, 70%, 84%)
CMYKcmyk(0%, 0%, 70.4%, 16.5%)
CIE-LABlab(82.96, -17.28, 69.82)
CIE-LCHlch(82.96, 71.93, 103.90°)
OKLaboklab(84.72% -0.0546 0.1547)
OKLCHoklch(84.72% 0.164 109.4)
XYZxyz(52.1339, 62.0951, 13.9410)
Luminance0.6209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D53F #3F3FD5
analogous
#D58A3F #D5D53F #8AD53F
triadic
#D5D53F #3FD5D5 #D53FD5
tetradic
#D5D53F #3FD58A #3F3FD5 #D53F8A
square
#D5D53F #3FD58A #3F3FD5 #D53F8A
split-complementary
#D5D53F #3F8AD5 #8A3FD5
monochromatic
#7E7E1C #B0B027 #D5D53F #E0E071 #EBEBA3

Accessibility & contrast

On white

1.56
#D5D53F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#D5D53F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D53F
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D53F#FFFFFF#000000##000000
##D5D53F1.001.5613.4213.42
#FFFFFF1.561.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC24
Deuteranopia (green-blind)
#E8D14A
Tritanopia (blue-blind)
#E4C8B8
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d5d53f;
/* rgb */ color: rgb(213, 213, 63);
/* oklch */ color: oklch(84.7% 0.164 109.4);
Tailwind
colors: {
  custom: {
    50: '#e6e17e',
    500: '#d5d53f',
    950: '#000000',
  },
}
SCSS
$custom: #d5d53f;
$custom-light: #e6e17e;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d53f",
  "rgb": {
    "r": 213,
    "g": 213,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 64.103,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8472,
    "c": 0.16407,
    "h": 109.4
  },
  "luminance": 0.62094
}

Semantic roles & 50–950 ramp

primary
#D5D53F
secondary
#333385
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D53F

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

Preview Lab → · Contrast checker → · Palette generator →

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