#D7C859#D7C859

#D7C859 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.132 H 101.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D7C859
RGBrgb(215, 200, 89)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 7%, 58.6%, 15.7%)
CIE-LABlab(79.89, -8.38, 56.18)
CIE-LCHlch(79.89, 56.81, 98.48°)
OKLaboklab(82.37% -0.0268 0.1297)
OKLCHoklch(82.37% 0.132 101.7)
XYZxyz(50.4836, 56.4788, 17.6915)
Luminance0.5648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C859 #5968D7
analogous
#D78959 #D7C859 #A7D759
triadic
#D7C859 #59D7C8 #C859D7
tetradic
#D7C859 #59D789 #5968D7 #D759A7
square
#D7C859 #59D789 #5968D7 #D759A7
split-complementary
#D7C859 #59A7D7 #8959D7
monochromatic
#928523 #C4B22F #D7C859 #E3D88A #EFE9BC

Accessibility & contrast

On white

1.71
#D7C859 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D7C859 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C859
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C859#FFFFFF#000000##000000
##D7C8591.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24D
Deuteranopia (green-blind)
#DDC95F
Tritanopia (blue-blind)
#E6BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d7c859;
/* rgb */ color: rgb(215, 200, 89);
/* oklch */ color: oklch(82.4% 0.132 101.7);
Tailwind
colors: {
  custom: {
    50: '#e6d88c',
    500: '#d7c859',
    950: '#000000',
  },
}
SCSS
$custom: #d7c859;
$custom-light: #e6d88c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c859",
  "rgb": {
    "r": 215,
    "g": 200,
    "b": 89
  },
  "hsl": {
    "h": 52.857,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82372,
    "c": 0.13246,
    "h": 101.7
  },
  "luminance": 0.56477
}

Semantic roles & 50–950 ramp

primary
#D7C859
secondary
#3D4798
accent
#57E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C859

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

Preview Lab → · Contrast checker → · Palette generator →

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