#D1CD68#D1CD68

#D1CD68 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.124 H 106.8°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D1CD68
RGBrgb(209, 205, 104)
HSLhsl(58, 53%, 61%)
HSVhsv(58, 50%, 82%)
CMYKcmyk(0%, 1.9%, 50.2%, 18%)
CIE-LABlab(80.86, -12.20, 50.24)
CIE-LCHlch(80.86, 51.70, 103.65°)
OKLaboklab(83.08% -0.0357 0.1186)
OKLCHoklch(83.08% 0.124 106.8)
XYZxyz(50.6258, 58.2188, 21.6646)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD68 #686CD1
analogous
#D19968 #D1CD68 #A1D168
triadic
#D1CD68 #68D1CD #CD68D1
tetradic
#D1CD68 #68D199 #686CD1 #D168A1
square
#D1CD68 #68D199 #686CD1 #D168A1
split-complementary
#D1CD68 #68A1D1 #9968D1
monochromatic
#928E2D #C1BC3B #D1CD68 #DFDD97 #EEECC6

Accessibility & contrast

On white

1.66
#D1CD68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D1CD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD68
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD68#FFFFFF#000000##000000
##D1CD681.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65F
Deuteranopia (green-blind)
#DECB6D
Tritanopia (blue-blind)
#DEC2B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d1cd68;
/* rgb */ color: rgb(209, 205, 104);
/* oklch */ color: oklch(83.1% 0.124 106.8);
Tailwind
colors: {
  custom: {
    50: '#e1dc96',
    500: '#d1cd68',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd68;
$custom-light: #e1dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd68",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 57.714,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83077,
    "c": 0.12389,
    "h": 106.8
  },
  "luminance": 0.58217
}

Semantic roles & 50–950 ramp

primary
#D1CD68
secondary
#454898
accent
#2BC125
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1CD68

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

Preview Lab → · Contrast checker → · Palette generator →

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