#D7D54A#D7D54A

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

Color values

HEX#D7D54A
RGBrgb(215, 213, 74)
HSLhsl(59, 64%, 57%)
HSVhsv(59, 66%, 84%)
CMYKcmyk(0%, 0.9%, 65.6%, 15.7%)
CIE-LABlab(83.20, -15.88, 66.03)
CIE-LCHlch(83.20, 67.92, 103.52°)
OKLaboklab(84.97% -0.0497 0.1485)
OKLCHoklch(84.97% 0.157 108.5)
XYZxyz(53.0564, 62.5316, 15.7522)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D54A #4A4CD7
analogous
#D78F4A #D7D54A #93D74A
triadic
#D7D54A #4AD7D5 #D54AD7
tetradic
#D7D54A #4AD78F #4A4CD7 #D74A93
square
#D7D54A #4AD78F #4A4CD7 #D74A93
split-complementary
#D7D54A #4A93D7 #8F4AD7
monochromatic
#88871E #BBB929 #D7D54A #E2E17C #EDECAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D54A#FFFFFF#000000##000000
##D7D54A1.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)
#E6CD36
Deuteranopia (green-blind)
#E8D253
Tritanopia (blue-blind)
#E6C8B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d54a;
/* rgb */ color: rgb(215, 213, 74);
/* oklch */ color: oklch(85.0% 0.157 108.5);
Tailwind
colors: {
  custom: {
    50: '#e7e184',
    500: '#d7d54a',
    950: '#000000',
  },
}
SCSS
$custom: #d7d54a;
$custom-light: #e7e184;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d54a",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 59.149,
    "s": 63.801,
    "l": 56.667
  },
  "oklch": {
    "l": 0.84967,
    "c": 0.15657,
    "h": 108.5
  },
  "luminance": 0.6253
}

Semantic roles & 50–950 ramp

primary
#D7D54A
secondary
#37388F
accent
#43E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D7D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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