#D7CA57#D7CA57

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

Color values

HEX#D7CA57
RGBrgb(215, 202, 87)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 84%)
CMYKcmyk(0%, 6%, 59.5%, 15.7%)
CIE-LABlab(80.39, -9.53, 57.64)
CIE-LCHlch(80.39, 58.42, 99.39°)
OKLaboklab(82.77% -0.0303 0.1326)
OKLCHoklch(82.77% 0.136 102.9)
XYZxyz(50.8670, 57.3781, 17.4106)
Luminance0.5738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA57 #5764D7
analogous
#D78A57 #D7CA57 #A4D757
triadic
#D7CA57 #57D7CA #CA57D7
tetradic
#D7CA57 #57D78A #5764D7 #D757A4
square
#D7CA57 #57D78A #5764D7 #D757A4
split-complementary
#D7CA57 #57A4D7 #8A57D7
monochromatic
#918623 #C2B32E #D7CA57 #E3DA88 #EFE9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7CA57#FFFFFF#000000##000000
##D7CA571.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)
#DBC44A
Deuteranopia (green-blind)
#DFCA5D
Tritanopia (blue-blind)
#E6BDB1
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d7ca57;
/* rgb */ color: rgb(215, 202, 87);
/* oklch */ color: oklch(82.8% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e6d98b',
    500: '#d7ca57',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca57;
$custom-light: #e6d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca57",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 87
  },
  "hsl": {
    "h": 53.906,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82768,
    "c": 0.136,
    "h": 102.9
  },
  "luminance": 0.57376
}

Semantic roles & 50–950 ramp

primary
#D7CA57
secondary
#3C4596
accent
#54E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D7CA57

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

Preview Lab → · Contrast checker → · Palette generator →

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