#D5D74C#D5D74C

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

Color values

HEX#D5D74C
RGBrgb(213, 215, 76)
HSLhsl(61, 63%, 57%)
HSVhsv(61, 65%, 84%)
CMYKcmyk(0.9%, 0%, 64.7%, 15.7%)
CIE-LABlab(83.58, -17.58, 65.60)
CIE-LCHlch(83.58, 67.92, 105.00°)
OKLaboklab(85.24% -0.0542 0.1479)
OKLCHoklch(85.24% 0.158 110.1)
XYZxyz(53.0472, 63.2702, 16.2541)
Luminance0.6327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74C #4E4CD7
analogous
#D7934C #D5D74C #90D74C
triadic
#D5D74C #4CD5D7 #D74CD5
tetradic
#D5D74C #4CD793 #4E4CD7 #D74C90
square
#D5D74C #4CD793 #4E4CD7 #D74C90
split-complementary
#D5D74C #4C90D7 #934CD7
monochromatic
#888A1F #BABC2A #D5D74C #E1E27E #ECEDB0

Accessibility & contrast

On white

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

On black

13.65
#D5D74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D74C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D74C#FFFFFF#000000##000000
##D5D74C1.001.5413.6513.65
#FFFFFF1.541.0021.0021.00
#00000013.6521.001.001.00
##00000013.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5d74c;
/* rgb */ color: rgb(213, 215, 76);
/* oklch */ color: oklch(85.2% 0.158 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e385',
    500: '#d5d74c',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74c;
$custom-light: #e5e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74c",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 76
  },
  "hsl": {
    "h": 60.863,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85243,
    "c": 0.15753,
    "h": 110.1
  },
  "luminance": 0.63269
}

Semantic roles & 50–950 ramp

primary
#D5D74C
secondary
#393790
accent
#41E644
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D74C

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

Preview Lab → · Contrast checker → · Palette generator →

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