#D7D54C#D7D54C

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

Color values

HEX#D7D54C
RGBrgb(215, 213, 76)
HSLhsl(59, 63%, 57%)
HSVhsv(59, 65%, 84%)
CMYKcmyk(0%, 0.9%, 64.7%, 15.7%)
CIE-LABlab(83.21, -15.76, 65.26)
CIE-LCHlch(83.21, 67.14, 103.58°)
OKLaboklab(84.98% -0.0492 0.1472)
OKLCHoklch(84.98% 0.155 108.5)
XYZxyz(53.1249, 62.5590, 16.1127)
Luminance0.6256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54C #4C4ED7
analogous
#D7904C #D7D54C #93D74C
triadic
#D7D54C #4CD7D5 #D54CD7
tetradic
#D7D54C #4CD790 #4C4ED7 #D74C93
square
#D7D54C #4CD790 #4C4ED7 #D74C93
split-complementary
#D7D54C #4C93D7 #904CD7
monochromatic
#8A881F #BCBA2A #D7D54C #E2E17E #EDECB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D54C#FFFFFF#000000##000000
##D7D54C1.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)
#E6CD39
Deuteranopia (green-blind)
#E8D255
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d54c;
/* rgb */ color: rgb(215, 213, 76);
/* oklch */ color: oklch(85.0% 0.155 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e185',
    500: '#d7d54c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54c;
$custom-light: #e7e185;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54c",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 76
  },
  "hsl": {
    "h": 59.137,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.84983,
    "c": 0.15516,
    "h": 108.5
  },
  "luminance": 0.62557
}

Semantic roles & 50–950 ramp

primary
#D7D54C
secondary
#373990
accent
#44E641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D54C

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

Preview Lab → · Contrast checker → · Palette generator →

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