#D7CF57#D7CF57

#D7CF57 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.141 H 105.5°. Best body text is #000000 at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#D7CF57
RGBrgb(215, 207, 87)
HSLhsl(56, 62%, 59%)
HSVhsv(56, 60%, 84%)
CMYKcmyk(0%, 3.7%, 59.5%, 15.7%)
CIE-LABlab(81.71, -12.07, 59.09)
CIE-LCHlch(81.71, 60.31, 101.54°)
OKLaboklab(83.82% -0.0375 0.1357)
OKLCHoklch(83.82% 0.141 105.5)
XYZxyz(52.0592, 59.7626, 17.8080)
Luminance0.5976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CF57 #575FD7
analogous
#D78F57 #D7CF57 #9FD757
triadic
#D7CF57 #57D7CF #CF57D7
tetradic
#D7CF57 #57D78F #575FD7 #D7579F
square
#D7CF57 #57D78F #575FD7 #D7579F
split-complementary
#D7CF57 #579FD7 #8F57D7
monochromatic
#918A23 #C2B92E #D7CF57 #E3DD88 #EFEBBA

Accessibility & contrast

On white

1.62
#D7CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.95
#D7CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CF57
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CF57#FFFFFF#000000##000000
##D7CF571.001.6212.9512.95
#FFFFFF1.621.0021.0021.00
#00000012.9521.001.001.00
##00000012.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84A
Deuteranopia (green-blind)
#E3CE5E
Tritanopia (blue-blind)
#E6C2B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cf57;
/* rgb */ color: rgb(215, 207, 87);
/* oklch */ color: oklch(83.8% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6dd8b',
    500: '#d7cf57',
    950: '#000000',
  },
}
SCSS
$custom: #d7cf57;
$custom-light: #e6dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cf57",
  "rgb": {
    "r": 215,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 56.25,
    "s": 61.538,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83816,
    "c": 0.14076,
    "h": 105.5
  },
  "luminance": 0.59761
}

Semantic roles & 50–950 ramp

primary
#D7CF57
secondary
#3C4196
accent
#4DE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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