#D7D54D#D7D54D

#D7D54D is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 85.0% C 0.154 H 108.5°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#D7D54D
RGBrgb(215, 213, 77)
HSLhsl(59, 63%, 57%)
HSVhsv(59, 64%, 84%)
CMYKcmyk(0%, 0.9%, 64.2%, 15.7%)
CIE-LABlab(83.22, -15.70, 64.87)
CIE-LCHlch(83.22, 66.75, 103.61°)
OKLaboklab(84.99% -0.0489 0.1465)
OKLCHoklch(84.99% 0.154 108.5)
XYZxyz(53.1599, 62.5730, 16.2973)
Luminance0.6257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54D #4D4FD7
analogous
#D7904D #D7D54D #94D74D
triadic
#D7D54D #4DD7D5 #D54DD7
tetradic
#D7D54D #4DD790 #4D4FD7 #D74D94
square
#D7D54D #4DD790 #4D4FD7 #D74D94
split-complementary
#D7D54D #4D94D7 #904DD7
monochromatic
#8A891F #BCBA2A #D7D54D #E2E17F #EDEDB1

Accessibility & contrast

On white

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

On black

13.51
#D7D54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D54D
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D54D#FFFFFF#000000##000000
##D7D54D1.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD3B
Deuteranopia (green-blind)
#E8D256
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d54d;
/* rgb */ color: rgb(215, 213, 77);
/* oklch */ color: oklch(85.0% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e185',
    500: '#d7d54d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54d;
$custom-light: #e7e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54d",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 77
  },
  "hsl": {
    "h": 59.13,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84991,
    "c": 0.15444,
    "h": 108.5
  },
  "luminance": 0.62571
}

Semantic roles & 50–950 ramp

primary
#D7D54D
secondary
#383990
accent
#44E641
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D54D

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

Preview Lab → · Contrast checker → · Palette generator →

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