#D7C759#D7C759

#D7C759 is a very light, vivid yellow. Relative luminance 0.560; OKLCH L 82.2% C 0.132 H 101.1°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#D7C759
RGBrgb(215, 199, 89)
HSLhsl(52, 61%, 60%)
HSVhsv(52, 59%, 84%)
CMYKcmyk(0%, 7.4%, 58.6%, 15.7%)
CIE-LABlab(79.62, -7.86, 55.89)
CIE-LCHlch(79.62, 56.44, 98.01°)
OKLaboklab(82.17% -0.0253 0.1291)
OKLCHoklch(82.17% 0.132 101.1)
XYZxyz(50.2528, 56.0172, 17.6146)
Luminance0.5602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C759 #5969D7
analogous
#D78859 #D7C759 #A8D759
triadic
#D7C759 #59D7C7 #C759D7
tetradic
#D7C759 #59D788 #5969D7 #D759A8
square
#D7C759 #59D788 #5969D7 #D759A8
split-complementary
#D7C759 #59A8D7 #8859D7
monochromatic
#928423 #C4B12F #D7C759 #E3D88A #EFE8BC

Accessibility & contrast

On white

1.72
#D7C759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#D7C759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C759
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C759#FFFFFF#000000##000000
##D7C7591.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24D
Deuteranopia (green-blind)
#DCC85F
Tritanopia (blue-blind)
#E6BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c759;
/* rgb */ color: rgb(215, 199, 89);
/* oklch */ color: oklch(82.2% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#e6d78c',
    500: '#d7c759',
    950: '#000000',
  },
}
SCSS
$custom: #d7c759;
$custom-light: #e6d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c759",
  "rgb": {
    "r": 215,
    "g": 199,
    "b": 89
  },
  "hsl": {
    "h": 52.381,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82165,
    "c": 0.13156,
    "h": 101.1
  },
  "luminance": 0.56015
}

Semantic roles & 50–950 ramp

primary
#D7C759
secondary
#3D4898
accent
#58E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C759

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

Preview Lab → · Contrast checker → · Palette generator →

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