#D8CA68#D8CA68

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

Color values

HEX#D8CA68
RGBrgb(216, 202, 104)
HSLhsl(53, 59%, 63%)
HSVhsv(53, 52%, 85%)
CMYKcmyk(0%, 6.5%, 51.9%, 15.3%)
CIE-LABlab(80.65, -7.82, 50.13)
CIE-LCHlch(80.65, 50.74, 98.86°)
OKLaboklab(83.05% -0.0236 0.1183)
OKLCHoklch(83.05% 0.121 101.3)
XYZxyz(51.9397, 57.8413, 21.5225)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA68 #6876D8
analogous
#D89268 #D8CA68 #AED868
triadic
#D8CA68 #68D8CA #CA68D8
tetradic
#D8CA68 #68D892 #6876D8 #D868AE
square
#D8CA68 #68D892 #6876D8 #D868AE
split-complementary
#D8CA68 #68AED8 #9268D8
monochromatic
#9D8E29 #CBB937 #D8CA68 #E5DB99 #F1ECC9

Accessibility & contrast

On white

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

On black

12.57
#D8CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA68
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA68#FFFFFF#000000##000000
##D8CA681.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55F
Deuteranopia (green-blind)
#DECB6C
Tritanopia (blue-blind)
#E6BEB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca68;
/* rgb */ color: rgb(216, 202, 104);
/* oklch */ color: oklch(83.0% 0.121 101.3);
Tailwind
colors: {
  custom: {
    50: '#e6d995',
    500: '#d8ca68',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca68;
$custom-light: #e6d995;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca68",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 52.5,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8305,
    "c": 0.12061,
    "h": 101.3
  },
  "luminance": 0.57839
}

Semantic roles & 50–950 ramp

primary
#D8CA68
secondary
#434FA1
accent
#34C71F
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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