#D7C659#D7C659

#D7C659 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.131 H 100.5°. Best body text is #000000 at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#D7C659
RGBrgb(215, 198, 89)
HSLhsl(52, 61%, 60%)
HSVhsv(52, 59%, 84%)
CMYKcmyk(0%, 7.9%, 58.6%, 15.7%)
CIE-LABlab(79.36, -7.35, 55.60)
CIE-LCHlch(79.36, 56.08, 97.53°)
OKLaboklab(81.96% -0.0239 0.1285)
OKLCHoklch(81.96% 0.131 100.5)
XYZxyz(50.0234, 55.5585, 17.5381)
Luminance0.5556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C659 #596AD7
analogous
#D78759 #D7C659 #A9D759
triadic
#D7C659 #59D7C6 #C659D7
tetradic
#D7C659 #59D787 #596AD7 #D759A9
square
#D7C659 #59D787 #596AD7 #D759A9
split-complementary
#D7C659 #59A9D7 #8759D7
monochromatic
#928323 #C4B02F #D7C659 #E3D78A #EFE8BC

Accessibility & contrast

On white

1.73
#D7C659 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.11
#D7C659 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C659
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C659#FFFFFF#000000##000000
##D7C6591.001.7312.1112.11
#FFFFFF1.731.0021.0021.00
#00000012.1121.001.001.00
##00000012.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14E
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d7c659;
/* rgb */ color: rgb(215, 198, 89);
/* oklch */ color: oklch(82.0% 0.131 100.5);
Tailwind
colors: {
  custom: {
    50: '#e6d78c',
    500: '#d7c659',
    950: '#000000',
  },
}
SCSS
$custom: #d7c659;
$custom-light: #e6d78c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c659",
  "rgb": {
    "r": 215,
    "g": 198,
    "b": 89
  },
  "hsl": {
    "h": 51.905,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.81957,
    "c": 0.13067,
    "h": 100.5
  },
  "luminance": 0.55557
}

Semantic roles & 50–950 ramp

primary
#D7C659
secondary
#3D4998
accent
#59E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7C659

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

Preview Lab → · Contrast checker → · Palette generator →

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