#D7CF66#D7CF66

#D7CF66 is a very light, vivid yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.127 H 104.9°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D7CF66
RGBrgb(215, 207, 102)
HSLhsl(56, 59%, 62%)
HSVhsv(56, 53%, 84%)
CMYKcmyk(0%, 3.7%, 52.6%, 15.7%)
CIE-LABlab(81.86, -10.93, 52.48)
CIE-LCHlch(81.86, 53.60, 101.77°)
OKLaboklab(83.98% -0.0327 0.1232)
OKLCHoklch(83.98% 0.127 104.9)
XYZxyz(52.7369, 60.0337, 21.3775)
Luminance0.6003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF66 #666ED7
analogous
#D79766 #D7CF66 #A7D766
triadic
#D7CF66 #66D7CF #CF66D7
tetradic
#D7CF66 #66D797 #666ED7 #D766A7
square
#D7CF66 #66D797 #666ED7 #D766A7
split-complementary
#D7CF66 #66A7D7 #9766D7
monochromatic
#9A9228 #CAC035 #D7CF66 #E4DE97 #F0EDC7

Accessibility & contrast

On white

1.61
#D7CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D7CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF66
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF66#FFFFFF#000000##000000
##D7CF661.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC95C
Deuteranopia (green-blind)
#E1CE6B
Tritanopia (blue-blind)
#E5C3B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf66;
/* rgb */ color: rgb(215, 207, 102);
/* oklch */ color: oklch(84.0% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#e6dd94',
    500: '#d7cf66',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf66;
$custom-light: #e6dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf66",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 55.752,
    "s": 58.549,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83981,
    "c": 0.12745,
    "h": 104.9
  },
  "luminance": 0.60032
}

Semantic roles & 50–950 ramp

primary
#D7CF66
secondary
#42499F
accent
#2BC61F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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