#D7CD68#D7CD68

#D7CD68 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.124 H 103.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#D7CD68
RGBrgb(215, 205, 104)
HSLhsl(55, 58%, 63%)
HSVhsv(55, 52%, 84%)
CMYKcmyk(0%, 4.7%, 51.6%, 15.7%)
CIE-LABlab(81.35, -9.75, 50.94)
CIE-LCHlch(81.35, 51.87, 100.84°)
OKLaboklab(83.59% -0.0291 0.1201)
OKLCHoklch(83.59% 0.124 103.6)
XYZxyz(52.3559, 59.1109, 21.7457)
Luminance0.5911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD68 #6872D7
analogous
#D79668 #D7CD68 #A9D768
triadic
#D7CD68 #68D7CD #CD68D7
tetradic
#D7CD68 #68D796 #6872D7 #D768A9
square
#D7CD68 #68D796 #6872D7 #D768A9
split-complementary
#D7CD68 #68A9D7 #9668D7
monochromatic
#9B9129 #CABD38 #D7CD68 #E4DD98 #F1EDC9

Accessibility & contrast

On white

1.64
#D7CD68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#D7CD68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD68
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD68#FFFFFF#000000##000000
##D7CD681.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC75F
Deuteranopia (green-blind)
#E0CD6D
Tritanopia (blue-blind)
#E5C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd68;
/* rgb */ color: rgb(215, 205, 104);
/* oklch */ color: oklch(83.6% 0.124 103.6);
Tailwind
colors: {
  custom: {
    50: '#e5dc96',
    500: '#d7cd68',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd68;
$custom-light: #e5dc96;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd68",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 104
  },
  "hsl": {
    "h": 54.595,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83587,
    "c": 0.12353,
    "h": 103.6
  },
  "luminance": 0.59109
}

Semantic roles & 50–950 ramp

primary
#D7CD68
secondary
#434CA0
accent
#2FC620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD68

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

Preview Lab → · Contrast checker → · Palette generator →

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