#D7CA5D#D7CA5D

#D7CA5D is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.131 H 102.6°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D7CA5D
RGBrgb(215, 202, 93)
HSLhsl(54, 60%, 60%)
HSVhsv(54, 57%, 84%)
CMYKcmyk(0%, 6%, 56.7%, 15.7%)
CIE-LABlab(80.45, -9.10, 55.01)
CIE-LCHlch(80.45, 55.76, 99.40°)
OKLaboklab(82.83% -0.0284 0.1277)
OKLCHoklch(82.83% 0.131 102.6)
XYZxyz(51.1224, 57.4803, 18.7557)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA5D #5D6AD7
analogous
#D78D5D #D7CA5D #A7D75D
triadic
#D7CA5D #5DD7CA #CA5DD7
tetradic
#D7CA5D #5DD78D #5D6AD7 #D75DA7
square
#D7CA5D #5DD78D #5D6AD7 #D75DA7
split-complementary
#D7CA5D #5DA7D7 #8D5DD7
monochromatic
#958925 #C6B631 #D7CA5D #E3DA8E #EFEABF

Accessibility & contrast

On white

1.68
#D7CA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D7CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA5D
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA5D#FFFFFF#000000##000000
##D7CA5D1.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC452
Deuteranopia (green-blind)
#DECA62
Tritanopia (blue-blind)
#E6BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7ca5d;
/* rgb */ color: rgb(215, 202, 93);
/* oklch */ color: oklch(82.8% 0.131 102.6);
Tailwind
colors: {
  custom: {
    50: '#e6d98e',
    500: '#d7ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca5d;
$custom-light: #e6d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca5d",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 53.607,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82832,
    "c": 0.13082,
    "h": 102.6
  },
  "luminance": 0.57478
}

Semantic roles & 50–950 ramp

primary
#D7CA5D
secondary
#3E489A
accent
#30C81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D7CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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