#D7D54F#D7D54F

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

Color values

HEX#D7D54F
RGBrgb(215, 213, 79)
HSLhsl(59, 63%, 58%)
HSVhsv(59, 63%, 84%)
CMYKcmyk(0%, 0.9%, 63.3%, 15.7%)
CIE-LABlab(83.23, -15.58, 64.09)
CIE-LCHlch(83.23, 65.95, 103.67°)
OKLaboklab(85.01% -0.0484 0.1451)
OKLCHoklch(85.01% 0.153 108.4)
XYZxyz(53.2316, 62.6017, 16.6749)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54F #4F51D7
analogous
#D7914F #D7D54F #95D74F
triadic
#D7D54F #4FD7D5 #D54FD7
tetradic
#D7D54F #4FD791 #4F51D7 #D74F95
square
#D7D54F #4FD791 #4F51D7 #D74F95
split-complementary
#D7D54F #4F95D7 #914FD7
monochromatic
#8C8A20 #BEBC2B #D7D54F #E2E181 #EEEDB3

Accessibility & contrast

On white

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

On black

13.52
#D7D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D54F
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D54F#FFFFFF#000000##000000
##D7D54F1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d54f;
/* rgb */ color: rgb(215, 213, 79);
/* oklch */ color: oklch(85.0% 0.153 108.4);
Tailwind
colors: {
  custom: {
    50: '#e6e187',
    500: '#d7d54f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54f;
$custom-light: #e6e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54f",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 59.118,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.85008,
    "c": 0.15298,
    "h": 108.4
  },
  "luminance": 0.626
}

Semantic roles & 50–950 ramp

primary
#D7D54F
secondary
#393A92
accent
#44E642
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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