#D5CC62#D5CC62

#D5CC62 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.1% C 0.128 H 104.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D5CC62
RGBrgb(213, 204, 98)
HSLhsl(55, 58%, 61%)
HSVhsv(55, 54%, 84%)
CMYKcmyk(0%, 4.2%, 54%, 16.5%)
CIE-LABlab(80.86, -10.56, 53.14)
CIE-LCHlch(80.86, 54.18, 101.24°)
OKLaboklab(83.13% -0.0319 0.1243)
OKLCHoklch(83.13% 0.128 104.4)
XYZxyz(51.2396, 58.2154, 20.0905)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC62 #626BD5
analogous
#D59262 #D5CC62 #A4D562
triadic
#D5CC62 #62D5CC #CC62D5
tetradic
#D5CC62 #62D592 #626BD5 #D562A4
square
#D5CC62 #62D592 #626BD5 #D562A4
split-complementary
#D5CC62 #62A4D5 #9262D5
monochromatic
#958C28 #C5BA35 #D5CC62 #E2DC92 #EFEBC3

Accessibility & contrast

On white

1.66
#D5CC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D5CC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC62
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC62#FFFFFF#000000##000000
##D5CC621.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC658
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#E3C0B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cc62;
/* rgb */ color: rgb(213, 204, 98);
/* oklch */ color: oklch(83.1% 0.128 104.4);
Tailwind
colors: {
  custom: {
    50: '#e4db92',
    500: '#d5cc62',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc62;
$custom-light: #e4db92;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc62",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 98
  },
  "hsl": {
    "h": 55.304,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83134,
    "c": 0.12828,
    "h": 104.4
  },
  "luminance": 0.58214
}

Semantic roles & 50–950 ramp

primary
#D5CC62
secondary
#41489A
accent
#2DC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CC62

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

Preview Lab → · Contrast checker → · Palette generator →

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