#D5C758#D5C758

#D5C758 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 82.0% C 0.132 H 102.2°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D5C758
RGBrgb(213, 199, 88)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 6.6%, 58.7%, 16.5%)
CIE-LABlab(79.44, -8.77, 56.09)
CIE-LCHlch(79.44, 56.77, 98.88°)
OKLaboklab(81.98% -0.0279 0.1294)
OKLCHoklch(81.98% 0.132 102.2)
XYZxyz(49.6272, 55.6994, 17.3676)
Luminance0.5570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C758 #5866D5
analogous
#D58958 #D5C758 #A5D558
triadic
#D5C758 #58D5C7 #C758D5
tetradic
#D5C758 #58D589 #5866D5 #D558A5
square
#D5C758 #58D589 #5866D5 #D558A5
split-complementary
#D5C758 #58A5D5 #8958D5
monochromatic
#8F8324 #C0B030 #D5C758 #E1D789 #EEE8BA

Accessibility & contrast

On white

1.73
#D5C758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D5C758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C758
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C758#FFFFFF#000000##000000
##D5C7581.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14C
Deuteranopia (green-blind)
#DCC85E
Tritanopia (blue-blind)
#E4BAAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c758;
/* rgb */ color: rgb(213, 199, 88);
/* oklch */ color: oklch(82.0% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#e5d78b',
    500: '#d5c758',
    950: '#000000',
  },
}
SCSS
$custom: #d5c758;
$custom-light: #e5d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c758",
  "rgb": {
    "r": 213,
    "g": 199,
    "b": 88
  },
  "hsl": {
    "h": 53.28,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81977,
    "c": 0.13241,
    "h": 102.2
  },
  "luminance": 0.55698
}

Semantic roles & 50–950 ramp

primary
#D5C758
secondary
#3D4794
accent
#57E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C758

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

Preview Lab → · Contrast checker → · Palette generator →

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