#D7CA68#D7CA68

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

Color values

HEX#D7CA68
RGBrgb(215, 202, 104)
HSLhsl(53, 58%, 63%)
HSVhsv(53, 52%, 84%)
CMYKcmyk(0%, 6%, 51.6%, 15.7%)
CIE-LABlab(80.57, -8.23, 50.01)
CIE-LCHlch(80.57, 50.69, 99.34°)
OKLaboklab(82.96% -0.0247 0.118)
OKLCHoklch(82.96% 0.121 101.8)
XYZxyz(51.6451, 57.6894, 21.5087)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA68 #6875D7
analogous
#D79368 #D7CA68 #ACD768
triadic
#D7CA68 #68D7CA #CA68D7
tetradic
#D7CA68 #68D793 #6875D7 #D768AC
square
#D7CA68 #68D793 #6875D7 #D768AC
split-complementary
#D7CA68 #68ACD7 #9368D7
monochromatic
#9B8E29 #CAB938 #D7CA68 #E4DB98 #F1ECC9

Accessibility & contrast

On white

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

On black

12.54
#D7CA68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA68
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA68#FFFFFF#000000##000000
##D7CA681.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C55F
Deuteranopia (green-blind)
#DDCB6D
Tritanopia (blue-blind)
#E5BEB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca68;
/* rgb */ color: rgb(215, 202, 104);
/* oklch */ color: oklch(83.0% 0.121 101.8);
Tailwind
colors: {
  custom: {
    50: '#e5d995',
    500: '#d7ca68',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca68;
$custom-light: #e5d995;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca68",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 104
  },
  "hsl": {
    "h": 52.973,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82963,
    "c": 0.12059,
    "h": 101.8
  },
  "luminance": 0.57688
}

Semantic roles & 50–950 ramp

primary
#D7CA68
secondary
#434EA0
accent
#33C620
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA68

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

Preview Lab → · Contrast checker → · Palette generator →

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