#D7C551#D7C551

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

Color values

HEX#D7C551
RGBrgb(215, 197, 81)
HSLhsl(52, 63%, 58%)
HSVhsv(52, 62%, 84%)
CMYKcmyk(0%, 8.4%, 62.3%, 15.7%)
CIE-LABlab(79.03, -7.38, 58.77)
CIE-LCHlch(79.03, 59.23, 97.16°)
OKLaboklab(81.67% -0.0249 0.1342)
OKLCHoklch(81.67% 0.136 100.5)
XYZxyz(49.4778, 54.9757, 15.7882)
Luminance0.5497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C551 #5163D7
analogous
#D78251 #D7C551 #A6D751
triadic
#D7C551 #51D7C5 #C551D7
tetradic
#D7C551 #51D782 #5163D7 #D751A6
square
#D7C551 #51D782 #5163D7 #D751A6
split-complementary
#D7C551 #51A6D7 #8251D7
monochromatic
#8D7F20 #BFAB2C #D7C551 #E2D683 #EEE6B5

Accessibility & contrast

On white

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

On black

11.99
#D7C551 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C551
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C551#FFFFFF#000000##000000
##D7C5511.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C044
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#E7B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c551;
/* rgb */ color: rgb(215, 197, 81);
/* oklch */ color: oklch(81.7% 0.136 100.5);
Tailwind
colors: {
  custom: {
    50: '#e6d687',
    500: '#d7c551',
    950: '#000000',
  },
}
SCSS
$custom: #d7c551;
$custom-light: #e6d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c551",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 81
  },
  "hsl": {
    "h": 51.94,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81668,
    "c": 0.13644,
    "h": 100.5
  },
  "luminance": 0.54974
}

Semantic roles & 50–950 ramp

primary
#D7C551
secondary
#394593
accent
#58E642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C551

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

Preview Lab → · Contrast checker → · Palette generator →

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