#D7CA61#D7CA61

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

Color values

HEX#D7CA61
RGBrgb(215, 202, 97)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 55%, 84%)
CMYKcmyk(0%, 6%, 54.9%, 15.7%)
CIE-LABlab(80.49, -8.80, 53.22)
CIE-LCHlch(80.49, 53.94, 99.39°)
OKLaboklab(82.88% -0.0271 0.1243)
OKLCHoklch(82.88% 0.127 102.3)
XYZxyz(51.3042, 57.5530, 19.7133)
Luminance0.5755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA61 #616ED7
analogous
#D78F61 #D7CA61 #A9D761
triadic
#D7CA61 #61D7CA #CA61D7
tetradic
#D7CA61 #61D78F #616ED7 #D761A9
square
#D7CA61 #61D78F #616ED7 #D761A9
split-complementary
#D7CA61 #61A9D7 #8F61D7
monochromatic
#978B26 #C8B833 #D7CA61 #E3DA92 #F0EBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA61#FFFFFF#000000##000000
##D7CA611.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)
#DAC457
Deuteranopia (green-blind)
#DECA66
Tritanopia (blue-blind)
#E5BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca61;
/* rgb */ color: rgb(215, 202, 97);
/* oklch */ color: oklch(82.9% 0.127 102.3);
Tailwind
colors: {
  custom: {
    50: '#e6d991',
    500: '#d7ca61',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca61;
$custom-light: #e6d991;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca61",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 97
  },
  "hsl": {
    "h": 53.39,
    "s": 59.596,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82878,
    "c": 0.1272,
    "h": 102.3
  },
  "luminance": 0.57551
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7CA61

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

Preview Lab → · Contrast checker → · Palette generator →

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