#D5CA62#D5CA62

#D5CA62 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.126 H 103.3°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D5CA62
RGBrgb(213, 202, 98)
HSLhsl(54, 58%, 61%)
HSVhsv(54, 54%, 84%)
CMYKcmyk(0%, 5.2%, 54%, 16.5%)
CIE-LABlab(80.33, -9.54, 52.53)
CIE-LCHlch(80.33, 53.39, 100.30°)
OKLaboklab(82.72% -0.029 0.1229)
OKLCHoklch(82.72% 0.126 103.3)
XYZxyz(50.7673, 57.2708, 19.9331)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA62 #626DD5
analogous
#D59062 #D5CA62 #A6D562
triadic
#D5CA62 #62D5CA #CA62D5
tetradic
#D5CA62 #62D590 #626DD5 #D562A6
square
#D5CA62 #62D590 #626DD5 #D562A6
split-complementary
#D5CA62 #62A6D5 #9062D5
monochromatic
#958A28 #C5B735 #D5CA62 #E2DA92 #EFEBC3

Accessibility & contrast

On white

1.69
#D5CA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#D5CA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA62
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA62#FFFFFF#000000##000000
##D5CA621.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC458
Deuteranopia (green-blind)
#DDCA67
Tritanopia (blue-blind)
#E3BEB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5ca62;
/* rgb */ color: rgb(213, 202, 98);
/* oklch */ color: oklch(82.7% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#e4d992',
    500: '#d5ca62',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca62;
$custom-light: #e4d992;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca62",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 98
  },
  "hsl": {
    "h": 54.261,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.82715,
    "c": 0.12631,
    "h": 103.3
  },
  "luminance": 0.57269
}

Semantic roles & 50–950 ramp

primary
#D5CA62
secondary
#414A9A
accent
#30C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5CA62

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

Preview Lab → · Contrast checker → · Palette generator →

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