#D7CA60#D7CA60

#D7CA60 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.9% C 0.128 H 102.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D7CA60
RGBrgb(215, 202, 96)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 55%, 84%)
CMYKcmyk(0%, 6%, 55.3%, 15.7%)
CIE-LABlab(80.48, -8.87, 53.67)
CIE-LCHlch(80.48, 54.40, 99.39°)
OKLaboklab(82.87% -0.0274 0.1251)
OKLCHoklch(82.87% 0.128 102.4)
XYZxyz(51.2579, 57.5345, 19.4693)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA60 #606DD7
analogous
#D78E60 #D7CA60 #A8D760
triadic
#D7CA60 #60D7CA #CA60D7
tetradic
#D7CA60 #60D78E #606DD7 #D760A8
square
#D7CA60 #60D78E #606DD7 #D760A8
split-complementary
#D7CA60 #60A8D7 #8E60D7
monochromatic
#978A26 #C8B732 #D7CA60 #E3DA91 #F0EBC2

Accessibility & contrast

On white

1.68
#D7CA60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D7CA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA60
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA60#FFFFFF#000000##000000
##D7CA601.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC456
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#E5BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca60;
/* rgb */ color: rgb(215, 202, 96);
/* oklch */ color: oklch(82.9% 0.128 102.4);
Tailwind
colors: {
  custom: {
    50: '#e6d990',
    500: '#d7ca60',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca60;
$custom-light: #e6d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca60",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 96
  },
  "hsl": {
    "h": 53.445,
    "s": 59.799,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82866,
    "c": 0.12811,
    "h": 102.4
  },
  "luminance": 0.57533
}

Semantic roles & 50–950 ramp

primary
#D7CA60
secondary
#404A9B
accent
#31C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA60

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

Preview Lab → · Contrast checker → · Palette generator →

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