#D7CD55#D7CD55

#D7CD55 is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.140 H 104.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D7CD55
RGBrgb(215, 205, 85)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 84%)
CMYKcmyk(0%, 4.7%, 60.5%, 15.7%)
CIE-LABlab(81.16, -11.19, 59.36)
CIE-LCHlch(81.16, 60.41, 100.68°)
OKLaboklab(83.38% -0.0353 0.136)
OKLCHoklch(83.38% 0.14 104.5)
XYZxyz(51.4972, 58.7674, 17.2232)
Luminance0.5877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD55 #555FD7
analogous
#D78C55 #D7CD55 #A0D755
triadic
#D7CD55 #55D7CD #CD55D7
tetradic
#D7CD55 #55D78C #555FD7 #D755A0
square
#D7CD55 #55D78C #555FD7 #D755A0
split-complementary
#D7CD55 #55A0D7 #8C55D7
monochromatic
#908722 #C1B62D #D7CD55 #E3DC87 #EEEAB8

Accessibility & contrast

On white

1.65
#D7CD55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D7CD55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD55
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD55#FFFFFF#000000##000000
##D7CD551.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC647
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd55;
/* rgb */ color: rgb(215, 205, 85);
/* oklch */ color: oklch(83.4% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc8a',
    500: '#d7cd55',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd55;
$custom-light: #e6dc8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd55",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 85
  },
  "hsl": {
    "h": 55.385,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83376,
    "c": 0.14047,
    "h": 104.5
  },
  "luminance": 0.58766
}

Semantic roles & 50–950 ramp

primary
#D7CD55
secondary
#3B4295
accent
#4FE543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD55

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

Preview Lab → · Contrast checker → · Palette generator →

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