#D7CD66#D7CD66

#D7CD66 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.125 H 103.7°. Best body text is #000000 at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#D7CD66
RGBrgb(215, 205, 102)
HSLhsl(55, 59%, 62%)
HSVhsv(55, 53%, 84%)
CMYKcmyk(0%, 4.7%, 52.6%, 15.7%)
CIE-LABlab(81.33, -9.92, 51.86)
CIE-LCHlch(81.33, 52.80, 100.83°)
OKLaboklab(83.56% -0.0298 0.1219)
OKLCHoklch(83.56% 0.125 103.7)
XYZxyz(52.2555, 59.0707, 21.2170)
Luminance0.5907 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD66 #6670D7
analogous
#D79466 #D7CD66 #A9D766
triadic
#D7CD66 #66D7CD #CD66D7
tetradic
#D7CD66 #66D794 #6670D7 #D766A9
square
#D7CD66 #66D794 #6670D7 #D766A9
split-complementary
#D7CD66 #66A9D7 #9466D7
monochromatic
#9A9028 #CABD35 #D7CD66 #E4DD97 #F0EDC7

Accessibility & contrast

On white

1.64
#D7CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.81
#D7CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD66
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD66#FFFFFF#000000##000000
##D7CD661.001.6412.8112.81
#FFFFFF1.641.0021.0021.00
#00000012.8121.001.001.00
##00000012.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75C
Deuteranopia (green-blind)
#E0CD6B
Tritanopia (blue-blind)
#E5C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd66;
/* rgb */ color: rgb(215, 205, 102);
/* oklch */ color: oklch(83.6% 0.125 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6dc94',
    500: '#d7cd66',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd66;
$custom-light: #e6dc94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd66",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 54.69,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83563,
    "c": 0.12545,
    "h": 103.7
  },
  "luminance": 0.59069
}

Semantic roles & 50–950 ramp

primary
#D7CD66
secondary
#424B9F
accent
#2EC61F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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