#D8CF68#D8CF68

#D8CF68 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 84.1% C 0.126 H 104.2°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#D8CF68
RGBrgb(216, 207, 104)
HSLhsl(55, 59%, 63%)
HSVhsv(55, 52%, 85%)
CMYKcmyk(0%, 4.2%, 51.9%, 15.3%)
CIE-LABlab(81.96, -10.36, 51.68)
CIE-LCHlch(81.96, 52.71, 101.34°)
OKLaboklab(84.09% -0.0309 0.1216)
OKLCHoklch(84.09% 0.126 104.2)
XYZxyz(53.1319, 60.2257, 21.9200)
Luminance0.6022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF68 #6871D8
analogous
#D89768 #D8CF68 #A9D868
triadic
#D8CF68 #68D8CF #CF68D8
tetradic
#D8CF68 #68D897 #6871D8 #D868A9
square
#D8CF68 #68D897 #6871D8 #D868A9
split-complementary
#D8CF68 #68A9D8 #9768D8
monochromatic
#9D9429 #CBC037 #D8CF68 #E5DE99 #F1EEC9

Accessibility & contrast

On white

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

On black

13.04
#D8CF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF68
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF68#FFFFFF#000000##000000
##D8CF681.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC95E
Deuteranopia (green-blind)
#E2CE6D
Tritanopia (blue-blind)
#E6C3B8
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cf68;
/* rgb */ color: rgb(216, 207, 104);
/* oklch */ color: oklch(84.1% 0.126 104.2);
Tailwind
colors: {
  custom: {
    50: '#e6dd96',
    500: '#d8cf68',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf68;
$custom-light: #e6dd96;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf68",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 104
  },
  "hsl": {
    "h": 55.179,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8409,
    "c": 0.1255,
    "h": 104.2
  },
  "luminance": 0.60224
}

Semantic roles & 50–950 ramp

primary
#D8CF68
secondary
#434BA1
accent
#2CC71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CF68

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

Preview Lab → · Contrast checker → · Palette generator →

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