#D7CD59#D7CD59

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

Color values

HEX#D7CD59
RGBrgb(215, 205, 89)
HSLhsl(55, 61%, 60%)
HSVhsv(55, 59%, 84%)
CMYKcmyk(0%, 4.7%, 58.6%, 15.7%)
CIE-LABlab(81.20, -10.92, 57.65)
CIE-LCHlch(81.20, 58.67, 100.72°)
OKLaboklab(83.42% -0.034 0.1329)
OKLCHoklch(83.42% 0.137 104.4)
XYZxyz(51.6606, 58.8328, 18.0839)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD59 #5963D7
analogous
#D78E59 #D7CD59 #A2D759
triadic
#D7CD59 #59D7CD #CD59D7
tetradic
#D7CD59 #59D78E #5963D7 #D759A2
square
#D7CD59 #59D78E #5963D7 #D759A2
split-complementary
#D7CD59 #59A2D7 #8E59D7
monochromatic
#928A23 #C4B82F #D7CD59 #E3DC8A #EFEBBC

Accessibility & contrast

On white

1.64
#D7CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D7CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD59
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD59#FFFFFF#000000##000000
##D7CD591.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64C
Deuteranopia (green-blind)
#E1CC5F
Tritanopia (blue-blind)
#E6C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd59;
/* rgb */ color: rgb(215, 205, 89);
/* oklch */ color: oklch(83.4% 0.137 104.4);
Tailwind
colors: {
  custom: {
    50: '#e6dc8c',
    500: '#d7cd59',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd59;
$custom-light: #e6dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd59",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 55.238,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.83416,
    "c": 0.13714,
    "h": 104.4
  },
  "luminance": 0.58831
}

Semantic roles & 50–950 ramp

primary
#D7CD59
secondary
#3D4498
accent
#50E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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