#D5CF66#D5CF66

#D5CF66 is a very light, vivid yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.128 H 105.9°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D5CF66
RGBrgb(213, 207, 102)
HSLhsl(57, 57%, 62%)
HSVhsv(57, 52%, 84%)
CMYKcmyk(0%, 2.8%, 52.1%, 16.5%)
CIE-LABlab(81.69, -11.75, 52.24)
CIE-LCHlch(81.69, 53.55, 102.67°)
OKLaboklab(83.81% -0.0349 0.1227)
OKLCHoklch(83.81% 0.128 105.9)
XYZxyz(52.1531, 59.7326, 21.3501)
Luminance0.5973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF66 #666CD5
analogous
#D59866 #D5CF66 #A4D566
triadic
#D5CF66 #66D5CF #CF66D5
tetradic
#D5CF66 #66D598 #666CD5 #D566A4
square
#D5CF66 #66D598 #666CD5 #D566A4
split-complementary
#D5CF66 #66A4D5 #9866D5
monochromatic
#979129 #C7BF37 #D5CF66 #E2DE96 #EFEDC6

Accessibility & contrast

On white

1.62
#D5CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D5CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF66
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF66#FFFFFF#000000##000000
##D5CF661.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#E1CD6B
Tritanopia (blue-blind)
#E2C3B7
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cf66;
/* rgb */ color: rgb(213, 207, 102);
/* oklch */ color: oklch(83.8% 0.128 105.9);
Tailwind
colors: {
  custom: {
    50: '#e4dd94',
    500: '#d5cf66',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf66;
$custom-light: #e4dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf66",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 56.757,
    "s": 56.923,
    "l": 61.765
  },
  "oklch": {
    "l": 0.83811,
    "c": 0.12759,
    "h": 105.9
  },
  "luminance": 0.59731
}

Semantic roles & 50–950 ramp

primary
#D5CF66
secondary
#43489C
accent
#2AC421
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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