#D5CC52#D5CC52

#D5CC52 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.142 H 105.1°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D5CC52
RGBrgb(213, 204, 82)
HSLhsl(56, 61%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 4.2%, 61.5%, 16.5%)
CIE-LABlab(80.71, -11.72, 60.10)
CIE-LCHlch(80.71, 61.24, 101.03°)
OKLaboklab(82.96% -0.037 0.1372)
OKLCHoklch(82.96% 0.142 105.1)
XYZxyz(50.5582, 57.9428, 16.5019)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC52 #525BD5
analogous
#D58A52 #D5CC52 #9CD552
triadic
#D5CC52 #52D5CC #CC52D5
tetradic
#D5CC52 #52D58A #525BD5 #D5529C
square
#D5CC52 #52D58A #525BD5 #D5529C
split-complementary
#D5CC52 #529CD5 #8A52D5
monochromatic
#8B8422 #BCB22E #D5CC52 #E1DB83 #EDE9B4

Accessibility & contrast

On white

1.67
#D5CC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D5CC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC52
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC52#FFFFFF#000000##000000
##D5CC521.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC544
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E4BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cc52;
/* rgb */ color: rgb(213, 204, 82);
/* oklch */ color: oklch(83.0% 0.142 105.1);
Tailwind
colors: {
  custom: {
    50: '#e5db88',
    500: '#d5cc52',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc52;
$custom-light: #e5db88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc52",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 55.878,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82964,
    "c": 0.14208,
    "h": 105.1
  },
  "luminance": 0.57941
}

Semantic roles & 50–950 ramp

primary
#D5CC52
secondary
#3A4091
accent
#4FE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D5CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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