#D7D54E#D7D54E

#D7D54E 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.52:1 contrast (WCAG AA passes).

Color values

HEX#D7D54E
RGBrgb(215, 213, 78)
HSLhsl(59, 63%, 57%)
HSVhsv(59, 64%, 84%)
CMYKcmyk(0%, 0.9%, 63.7%, 15.7%)
CIE-LABlab(83.22, -15.64, 64.48)
CIE-LCHlch(83.22, 66.35, 103.64°)
OKLaboklab(85% -0.0486 0.1458)
OKLCHoklch(85% 0.154 108.5)
XYZxyz(53.1955, 62.5872, 16.4846)
Luminance0.6259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54E #4E50D7
analogous
#D7904E #D7D54E #95D74E
triadic
#D7D54E #4ED7D5 #D54ED7
tetradic
#D7D54E #4ED790 #4E50D7 #D74E95
square
#D7D54E #4ED790 #4E50D7 #D74E95
split-complementary
#D7D54E #4E95D7 #904ED7
monochromatic
#8B8A1F #BDBB2B #D7D54E #E2E180 #EEEDB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D54E#FFFFFF#000000##000000
##D7D54E1.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)
#E6CD3C
Deuteranopia (green-blind)
#E8D257
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d54e;
/* rgb */ color: rgb(215, 213, 78);
/* oklch */ color: oklch(85.0% 0.154 108.5);
Tailwind
colors: {
  custom: {
    50: '#e6e186',
    500: '#d7d54e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54e;
$custom-light: #e6e186;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54e",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 59.124,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.85,
    "c": 0.15371,
    "h": 108.5
  },
  "luminance": 0.62586
}

Semantic roles & 50–950 ramp

primary
#D7D54E
secondary
#383991
accent
#44E642
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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