#D8CA64#D8CA64

#D8CA64 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.124 H 101.6°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D8CA64
RGBrgb(216, 202, 100)
HSLhsl(53, 60%, 62%)
HSVhsv(53, 54%, 85%)
CMYKcmyk(0%, 6.5%, 53.7%, 15.3%)
CIE-LABlab(80.61, -8.15, 51.97)
CIE-LCHlch(80.61, 52.61, 98.91°)
OKLaboklab(83% -0.025 0.1219)
OKLCHoklch(83% 0.124 101.6)
XYZxyz(51.7413, 57.7620, 20.4778)
Luminance0.5776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA64 #6472D8
analogous
#D89064 #D8CA64 #ACD864
triadic
#D8CA64 #64D8CA #CA64D8
tetradic
#D8CA64 #64D890 #6472D8 #D864AC
square
#D8CA64 #64D890 #6472D8 #D864AC
split-complementary
#D8CA64 #64ACD8 #9064D8
monochromatic
#9B8D27 #CCB933 #D8CA64 #E4DB95 #F1EBC6

Accessibility & contrast

On white

1.67
#D8CA64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D8CA64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA64
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA64#FFFFFF#000000##000000
##D8CA641.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55A
Deuteranopia (green-blind)
#DECB69
Tritanopia (blue-blind)
#E6BEB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca64;
/* rgb */ color: rgb(216, 202, 100);
/* oklch */ color: oklch(83.0% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#e6d993',
    500: '#d8ca64',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca64;
$custom-light: #e6d993;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca64",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 100
  },
  "hsl": {
    "h": 52.759,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.83001,
    "c": 0.12442,
    "h": 101.6
  },
  "luminance": 0.5776
}

Semantic roles & 50–950 ramp

primary
#D8CA64
secondary
#414D9F
accent
#32C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CA64

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

Preview Lab → · Contrast checker → · Palette generator →

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