#D7C554#D7C554

#D7C554 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.134 H 100.3°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#D7C554
RGBrgb(215, 197, 84)
HSLhsl(52, 62%, 59%)
HSVhsv(52, 61%, 84%)
CMYKcmyk(0%, 8.4%, 60.9%, 15.7%)
CIE-LABlab(79.05, -7.19, 57.49)
CIE-LCHlch(79.05, 57.93, 97.13°)
OKLaboklab(81.7% -0.024 0.1319)
OKLCHoklch(81.7% 0.134 100.3)
XYZxyz(49.5928, 55.0217, 16.3938)
Luminance0.5502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C554 #5466D7
analogous
#D78354 #D7C554 #A7D754
triadic
#D7C554 #54D7C5 #C554D7
tetradic
#D7C554 #54D783 #5466D7 #D754A7
square
#D7C554 #54D783 #5466D7 #D754A7
split-complementary
#D7C554 #54A7D7 #8354D7
monochromatic
#8F8021 #C1AC2D #D7C554 #E3D686 #EEE7B7

Accessibility & contrast

On white

1.75
#D7C554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.00
#D7C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C554
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C554#FFFFFF#000000##000000
##D7C5541.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C047
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#E6B8AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c554;
/* rgb */ color: rgb(215, 197, 84);
/* oklch */ color: oklch(81.7% 0.134 100.3);
Tailwind
colors: {
  custom: {
    50: '#e6d688',
    500: '#d7c554',
    950: '#000000',
  },
}
SCSS
$custom: #d7c554;
$custom-light: #e6d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c554",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 51.756,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81698,
    "c": 0.13401,
    "h": 100.3
  },
  "luminance": 0.5502
}

Semantic roles & 50–950 ramp

primary
#D7C554
secondary
#3B4795
accent
#59E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C554

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

Preview Lab → · Contrast checker → · Palette generator →

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