#D7CA5B#D7CA5B

#D7CA5B is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.133 H 102.7°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D7CA5B
RGBrgb(215, 202, 91)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 58%, 84%)
CMYKcmyk(0%, 6%, 57.7%, 15.7%)
CIE-LABlab(80.43, -9.25, 55.89)
CIE-LCHlch(80.43, 56.66, 99.40°)
OKLaboklab(82.81% -0.0291 0.1294)
OKLCHoklch(82.81% 0.133 102.7)
XYZxyz(51.0350, 57.4453, 18.2953)
Luminance0.5744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA5B #5B68D7
analogous
#D78C5B #D7CA5B #A6D75B
triadic
#D7CA5B #5BD7CA #CA5BD7
tetradic
#D7CA5B #5BD78C #5B68D7 #D75BA6
square
#D7CA5B #5BD78C #5B68D7 #D75BA6
split-complementary
#D7CA5B #5BA6D7 #8C5BD7
monochromatic
#948824 #C5B530 #D7CA5B #E3DA8C #EFEABD

Accessibility & contrast

On white

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

On black

12.49
#D7CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA5B
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA5B#FFFFFF#000000##000000
##D7CA5B1.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7ca5b;
/* rgb */ color: rgb(215, 202, 91);
/* oklch */ color: oklch(82.8% 0.133 102.7);
Tailwind
colors: {
  custom: {
    50: '#e6d98d',
    500: '#d7ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca5b;
$custom-light: #e6d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca5b",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 53.71,
    "s": 60.784,
    "l": 60
  },
  "oklch": {
    "l": 0.8281,
    "c": 0.13258,
    "h": 102.7
  },
  "luminance": 0.57443
}

Semantic roles & 50–950 ramp

primary
#D7CA5B
secondary
#3E4799
accent
#55E444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D7CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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