#D5CF57#D5CF57

#D5CF57 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.141 H 106.4°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D5CF57
RGBrgb(213, 207, 87)
HSLhsl(57, 60%, 59%)
HSVhsv(57, 59%, 84%)
CMYKcmyk(0%, 2.8%, 59.2%, 16.5%)
CIE-LABlab(81.54, -12.89, 58.86)
CIE-LCHlch(81.54, 60.26, 102.35°)
OKLaboklab(83.65% -0.0398 0.1352)
OKLCHoklch(83.65% 0.141 106.4)
XYZxyz(51.4754, 59.4615, 17.7807)
Luminance0.5946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CF57 #575DD5
analogous
#D59057 #D5CF57 #9CD557
triadic
#D5CF57 #57D5CF #CF57D5
tetradic
#D5CF57 #57D590 #575DD5 #D5579C
square
#D5CF57 #57D590 #575DD5 #D5579C
split-complementary
#D5CF57 #579CD5 #9057D5
monochromatic
#8E8924 #BFB830 #D5CF57 #E1DD88 #EDEBB9

Accessibility & contrast

On white

1.63
#D5CF57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D5CF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CF57
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CF57#FFFFFF#000000##000000
##D5CF571.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cf57;
/* rgb */ color: rgb(213, 207, 87);
/* oklch */ color: oklch(83.6% 0.141 106.4);
Tailwind
colors: {
  custom: {
    50: '#e5dd8b',
    500: '#d5cf57',
    950: '#000000',
  },
}
SCSS
$custom: #d5cf57;
$custom-light: #e5dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cf57",
  "rgb": {
    "r": 213,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 57.143,
    "s": 60,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83645,
    "c": 0.14095,
    "h": 106.4
  },
  "luminance": 0.5946
}

Semantic roles & 50–950 ramp

primary
#D5CF57
secondary
#3C4194
accent
#4CE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CF57

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

Preview Lab → · Contrast checker → · Palette generator →

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