#D5D74B#D5D74B

#D5D74B 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#D5D74B
RGBrgb(213, 215, 75)
HSLhsl(61, 64%, 57%)
HSVhsv(61, 65%, 84%)
CMYKcmyk(0.9%, 0%, 65.1%, 15.7%)
CIE-LABlab(83.58, -17.64, 65.99)
CIE-LCHlch(83.58, 68.30, 104.96°)
OKLaboklab(85.24% -0.0544 0.1486)
OKLCHoklch(85.24% 0.158 110.1)
XYZxyz(53.0127, 63.2564, 16.0724)
Luminance0.6325 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D74B #4D4BD7
analogous
#D7934B #D5D74B #8FD74B
triadic
#D5D74B #4BD5D7 #D74BD5
tetradic
#D5D74B #4BD793 #4D4BD7 #D74B8F
square
#D5D74B #4BD793 #4D4BD7 #D74B8F
split-complementary
#D5D74B #4B8FD7 #934BD7
monochromatic
#88891E #B9BB2A #D5D74B #E1E27D #ECEDAF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5D74B#FFFFFF#000000##000000
##D5D74B1.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)
#E7CE37
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#E3CABB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d5d74b;
/* rgb */ color: rgb(213, 215, 75);
/* oklch */ color: oklch(85.2% 0.158 110.1);
Tailwind
colors: {
  custom: {
    50: '#e5e384',
    500: '#d5d74b',
    950: '#000000',
  },
}
SCSS
$custom: #d5d74b;
$custom-light: #e5e384;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d74b",
  "rgb": {
    "r": 213,
    "g": 215,
    "b": 75
  },
  "hsl": {
    "h": 60.857,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85235,
    "c": 0.15824,
    "h": 110.1
  },
  "luminance": 0.63255
}

Semantic roles & 50–950 ramp

primary
#D5D74B
secondary
#38378F
accent
#41E744
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D5D74B

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

Preview Lab → · Contrast checker → · Palette generator →

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