#D5D72E#D5D72E

#D5D72E is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.175 H 110.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D5D72E
RGBrgb(213, 215, 46)
HSLhsl(61, 68%, 51%)
HSVhsv(61, 79%, 84%)
CMYKcmyk(0.9%, 0%, 78.6%, 15.7%)
CIE-LABlab(83.41, -18.95, 75.56)
CIE-LCHlch(83.41, 77.90, 104.08°)
OKLaboklab(85.05% -0.0607 0.1639)
OKLCHoklch(85.05% 0.175 110.3)
XYZxyz(52.2361, 62.9458, 11.9824)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D72E #302ED7
analogous
#D7842E #D5D72E #80D72E
triadic
#D5D72E #2ED5D7 #D72ED5
tetradic
#D5D72E #2ED784 #302ED7 #D72E80
square
#D5D72E #2ED784 #302ED7 #D72E80
split-complementary
#D5D72E #2E80D7 #842ED7
monochromatic
#737416 #A6A820 #D5D72E #DFE161 #EAEB95

Accessibility & contrast

On white

1.55
#D5D72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D5D72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D72E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D72E#FFFFFF#000000##000000
##D5D72E1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CD00
Deuteranopia (green-blind)
#EAD23E
Tritanopia (blue-blind)
#E4C9B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d72e;
/* rgb */ color: rgb(213, 215, 46);
/* oklch */ color: oklch(85.1% 0.175 110.3);
Tailwind
colors: {
  custom: {
    50: '#e6e376',
    500: '#d5d72e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d72e;
$custom-light: #e6e376;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d72e",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 46
  },
  "hsl": {
    "h": 60.71,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.85053,
    "c": 0.1748,
    "h": 110.3
  },
  "luminance": 0.62944
}

Semantic roles & 50–950 ramp

primary
#D5D72E
secondary
#2D2C7D
accent
#3DEB3F
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#17150A
muted
#85847D

Preview Lab

Preview with #D5D72E

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

Preview Lab → · Contrast checker → · Palette generator →

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