#D5CD62#D5CD62

#D5CD62 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.129 H 105.0°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D5CD62
RGBrgb(213, 205, 98)
HSLhsl(56, 58%, 61%)
HSVhsv(56, 54%, 84%)
CMYKcmyk(0%, 3.8%, 54%, 16.5%)
CIE-LABlab(81.12, -11.06, 53.44)
CIE-LCHlch(81.12, 54.57, 101.70°)
OKLaboklab(83.34% -0.0334 0.1249)
OKLCHoklch(83.34% 0.129 105)
XYZxyz(51.4780, 58.6922, 20.1700)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD62 #626AD5
analogous
#D59362 #D5CD62 #A3D562
triadic
#D5CD62 #62D5CD #CD62D5
tetradic
#D5CD62 #62D593 #626AD5 #D562A3
square
#D5CD62 #62D593 #626AD5 #D562A3
split-complementary
#D5CD62 #62A3D5 #9362D5
monochromatic
#958D28 #C5BB35 #D5CD62 #E2DC92 #EFECC3

Accessibility & contrast

On white

1.65
#D5CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D5CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD62
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD62#FFFFFF#000000##000000
##D5CD621.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC758
Deuteranopia (green-blind)
#E0CC67
Tritanopia (blue-blind)
#E3C1B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd62;
/* rgb */ color: rgb(213, 205, 98);
/* oklch */ color: oklch(83.3% 0.129 105.0);
Tailwind
colors: {
  custom: {
    50: '#e4dc92',
    500: '#d5cd62',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd62;
$custom-light: #e4dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd62",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 55.826,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83343,
    "c": 0.12929,
    "h": 105
  },
  "luminance": 0.58691
}

Semantic roles & 50–950 ramp

primary
#D5CD62
secondary
#41479A
accent
#2CC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D5CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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