#D5C062#D5C062

#D5C062 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.6% C 0.117 H 97.0°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D5C062
RGBrgb(213, 192, 98)
HSLhsl(49, 58%, 61%)
HSVhsv(49, 54%, 84%)
CMYKcmyk(0%, 9.9%, 54%, 16.5%)
CIE-LABlab(77.71, -4.40, 49.47)
CIE-LCHlch(77.71, 49.67, 95.09°)
OKLaboklab(80.64% -0.0142 0.1163)
OKLCHoklch(80.64% 0.117 97)
XYZxyz(48.4965, 52.7293, 19.1761)
Luminance0.5273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C062 #6277D5
analogous
#D58662 #D5C062 #B1D562
triadic
#D5C062 #62D5C0 #C062D5
tetradic
#D5C062 #62D586 #6277D5 #D562B1
square
#D5C062 #62D586 #6277D5 #D562B1
split-complementary
#D5C062 #62B1D5 #8662D5
monochromatic
#958128 #C5AB35 #D5C062 #E2D392 #EFE7C3

Accessibility & contrast

On white

1.82
#D5C062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D5C062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C062
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C062#FFFFFF#000000##000000
##D5C0621.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E4B4AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d5c062;
/* rgb */ color: rgb(213, 192, 98);
/* oklch */ color: oklch(80.6% 0.117 97.0);
Tailwind
colors: {
  custom: {
    50: '#e4d291',
    500: '#d5c062',
    950: '#000000',
  },
}
SCSS
$custom: #d5c062;
$custom-light: #e4d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c062",
  "rgb": {
    "r": 213,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 49.043,
    "s": 57.789,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8064,
    "c": 0.11718,
    "h": 97
  },
  "luminance": 0.52727
}

Semantic roles & 50–950 ramp

primary
#D5C062
secondary
#41519A
accent
#3EC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D5C062

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

Preview Lab → · Contrast checker → · Palette generator →

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