#D7CA59#D7CA59

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

Color values

HEX#D7CA59
RGBrgb(215, 202, 89)
HSLhsl(54, 61%, 60%)
HSVhsv(54, 59%, 84%)
CMYKcmyk(0%, 6%, 58.6%, 15.7%)
CIE-LABlab(80.41, -9.39, 56.77)
CIE-LCHlch(80.41, 57.54, 99.40°)
OKLaboklab(82.79% -0.0297 0.131)
OKLCHoklch(82.79% 0.134 102.8)
XYZxyz(50.9498, 57.4113, 17.8469)
Luminance0.5741 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA59 #5966D7
analogous
#D78B59 #D7CA59 #A5D759
triadic
#D7CA59 #59D7CA #CA59D7
tetradic
#D7CA59 #59D78B #5966D7 #D759A5
square
#D7CA59 #59D78B #5966D7 #D759A5
split-complementary
#D7CA59 #59A5D7 #8B59D7
monochromatic
#928723 #C4B42F #D7CA59 #E3DA8A #EFE9BC

Accessibility & contrast

On white

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

On black

12.48
#D7CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA59
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA59#FFFFFF#000000##000000
##D7CA591.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC44D
Deuteranopia (green-blind)
#DFCA5F
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca59;
/* rgb */ color: rgb(215, 202, 89);
/* oklch */ color: oklch(82.8% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#e6d98c',
    500: '#d7ca59',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca59;
$custom-light: #e6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca59",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 53.81,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82789,
    "c": 0.1343,
    "h": 102.8
  },
  "luminance": 0.57409
}

Semantic roles & 50–950 ramp

primary
#D7CA59
secondary
#3D4698
accent
#54E444
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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