#D7CA63#D7CA63

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

Color values

HEX#D7CA63
RGBrgb(215, 202, 99)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 54%, 84%)
CMYKcmyk(0%, 6%, 54%, 15.7%)
CIE-LABlab(80.51, -8.64, 52.31)
CIE-LCHlch(80.51, 53.02, 99.38°)
OKLaboklab(82.9% -0.0264 0.1225)
OKLCHoklch(82.9% 0.125 102.2)
XYZxyz(51.3986, 57.5908, 20.2106)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA63 #6370D7
analogous
#D79063 #D7CA63 #AAD763
triadic
#D7CA63 #63D7CA #CA63D7
tetradic
#D7CA63 #63D790 #6370D7 #D763AA
square
#D7CA63 #63D790 #6370D7 #D763AA
split-complementary
#D7CA63 #63AAD7 #9063D7
monochromatic
#988C27 #C9B834 #D7CA63 #E3DB94 #F0EBC4

Accessibility & contrast

On white

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

On black

12.52
#D7CA63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA63
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA63#FFFFFF#000000##000000
##D7CA631.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC459
Deuteranopia (green-blind)
#DECA68
Tritanopia (blue-blind)
#E5BEB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca63;
/* rgb */ color: rgb(215, 202, 99);
/* oklch */ color: oklch(82.9% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d992',
    500: '#d7ca63',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca63;
$custom-light: #e6d992;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca63",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 99
  },
  "hsl": {
    "h": 53.276,
    "s": 59.184,
    "l": 61.569
  },
  "oklch": {
    "l": 0.82901,
    "c": 0.12535,
    "h": 102.2
  },
  "luminance": 0.57589
}

Semantic roles & 50–950 ramp

primary
#D7CA63
secondary
#414B9D
accent
#32C71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA63

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

Preview Lab → · Contrast checker → · Palette generator →

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