#D7CA66#D7CA66

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

Color values

HEX#D7CA66
RGBrgb(215, 202, 102)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 53%, 84%)
CMYKcmyk(0%, 6%, 52.6%, 15.7%)
CIE-LABlab(80.54, -8.39, 50.94)
CIE-LCHlch(80.54, 51.62, 99.36°)
OKLaboklab(82.94% -0.0254 0.1199)
OKLCHoklch(82.94% 0.123 102)
XYZxyz(51.5447, 57.6492, 20.9801)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA66 #6673D7
analogous
#D79166 #D7CA66 #ACD766
triadic
#D7CA66 #66D7CA #CA66D7
tetradic
#D7CA66 #66D791 #6673D7 #D766AC
square
#D7CA66 #66D791 #6673D7 #D766AC
split-complementary
#D7CA66 #66ACD7 #9166D7
monochromatic
#9A8D28 #CAB935 #D7CA66 #E4DB97 #F0ECC7

Accessibility & contrast

On white

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

On black

12.53
#D7CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA66
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA66#FFFFFF#000000##000000
##D7CA661.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ca66;
/* rgb */ color: rgb(215, 202, 102);
/* oklch */ color: oklch(82.9% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#e6d994',
    500: '#d7ca66',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca66;
$custom-light: #e6d994;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca66",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 53.097,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82938,
    "c": 0.12251,
    "h": 102
  },
  "luminance": 0.57647
}

Semantic roles & 50–950 ramp

primary
#D7CA66
secondary
#424D9F
accent
#33C61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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