#D5C652#D5C652

#D5C652 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.137 H 102.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#D5C652
RGBrgb(213, 198, 82)
HSLhsl(53, 61%, 58%)
HSVhsv(53, 62%, 84%)
CMYKcmyk(0%, 7%, 61.5%, 16.5%)
CIE-LABlab(79.12, -8.67, 58.39)
CIE-LCHlch(79.12, 59.03, 98.44°)
OKLaboklab(81.71% -0.0283 0.1336)
OKLCHoklch(81.71% 0.137 102)
XYZxyz(49.1595, 55.1454, 16.0357)
Luminance0.5514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C652 #5261D5
analogous
#D58552 #D5C652 #A2D552
triadic
#D5C652 #52D5C6 #C652D5
tetradic
#D5C652 #52D585 #5261D5 #D552A2
square
#D5C652 #52D585 #5261D5 #D552A2
split-complementary
#D5C652 #52A2D5 #8552D5
monochromatic
#8B7F22 #BCAC2E #D5C652 #E1D683 #EDE6B4

Accessibility & contrast

On white

1.75
#D5C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.03
#D5C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C652
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C652#FFFFFF#000000##000000
##D5C6521.001.7512.0312.03
#FFFFFF1.751.0021.0021.00
#00000012.0321.001.001.00
##00000012.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#E4B9AD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d5c652;
/* rgb */ color: rgb(213, 198, 82);
/* oklch */ color: oklch(81.7% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#e5d787',
    500: '#d5c652',
    950: '#000000',
  },
}
SCSS
$custom: #d5c652;
$custom-light: #e5d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c652",
  "rgb": {
    "r": 213,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 53.13,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81707,
    "c": 0.13652,
    "h": 102
  },
  "luminance": 0.55143
}

Semantic roles & 50–950 ramp

primary
#D5C652
secondary
#3A4491
accent
#56E444
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5C652

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

Preview Lab → · Contrast checker → · Palette generator →

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