#D5C658#D5C658

#D5C658 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.132 H 101.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D5C658
RGBrgb(213, 198, 88)
HSLhsl(53, 60%, 59%)
HSVhsv(53, 59%, 84%)
CMYKcmyk(0%, 7%, 58.7%, 16.5%)
CIE-LABlab(79.18, -8.26, 55.80)
CIE-LCHlch(79.18, 56.41, 98.42°)
OKLaboklab(81.77% -0.0264 0.1288)
OKLCHoklch(81.77% 0.132 101.6)
XYZxyz(49.3979, 55.2408, 17.2911)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C658 #5867D5
analogous
#D58858 #D5C658 #A6D558
triadic
#D5C658 #58D5C6 #C658D5
tetradic
#D5C658 #58D588 #5867D5 #D558A6
square
#D5C658 #58D588 #5867D5 #D558A6
split-complementary
#D5C658 #58A6D5 #8858D5
monochromatic
#8F8224 #C0AE30 #D5C658 #E1D789 #EEE7BA

Accessibility & contrast

On white

1.74
#D5C658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D5C658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C658
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C658#FFFFFF#000000##000000
##D5C6581.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#DBC75E
Tritanopia (blue-blind)
#E4B9AE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c658;
/* rgb */ color: rgb(213, 198, 88);
/* oklch */ color: oklch(81.8% 0.132 101.6);
Tailwind
colors: {
  custom: {
    50: '#e5d78b',
    500: '#d5c658',
    950: '#000000',
  },
}
SCSS
$custom: #d5c658;
$custom-light: #e5d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c658",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 88
  },
  "hsl": {
    "h": 52.8,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81768,
    "c": 0.1315,
    "h": 101.6
  },
  "luminance": 0.55239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D5C658

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

Preview Lab → · Contrast checker → · Palette generator →

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