#D5D74E#D5D74E

#D5D74E is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.3% C 0.156 H 110.1°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#D5D74E
RGBrgb(213, 215, 78)
HSLhsl(61, 63%, 57%)
HSVhsv(61, 64%, 84%)
CMYKcmyk(0.9%, 0%, 63.7%, 15.7%)
CIE-LABlab(83.60, -17.46, 64.82)
CIE-LCHlch(83.60, 67.13, 105.07°)
OKLaboklab(85.26% -0.0536 0.1466)
OKLCHoklch(85.26% 0.156 110.1)
XYZxyz(53.1178, 63.2985, 16.6260)
Luminance0.6330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74E #504ED7
analogous
#D7954E #D5D74E #90D74E
triadic
#D5D74E #4ED5D7 #D74ED5
tetradic
#D5D74E #4ED795 #504ED7 #D74E90
square
#D5D74E #4ED795 #504ED7 #D74E90
split-complementary
#D5D74E #4E90D7 #954ED7
monochromatic
#8A8B1F #BBBD2B #D5D74E #E1E280 #EDEEB2

Accessibility & contrast

On white

1.54
#D5D74E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#D5D74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D74E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D74E#FFFFFF#000000##000000
##D5D74E1.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3C
Deuteranopia (green-blind)
#E9D257
Tritanopia (blue-blind)
#E3CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d74e;
/* rgb */ color: rgb(213, 215, 78);
/* oklch */ color: oklch(85.3% 0.156 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e386',
    500: '#d5d74e',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74e;
$custom-light: #e5e386;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74e",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 78
  },
  "hsl": {
    "h": 60.876,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8526,
    "c": 0.1561,
    "h": 110.1
  },
  "luminance": 0.63297
}

Semantic roles & 50–950 ramp

primary
#D5D74E
secondary
#393891
accent
#42E644
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D5D74E

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

Preview Lab → · Contrast checker → · Palette generator →

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