#D5CD52#D5CD52

#D5CD52 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.143 H 105.6°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D5CD52
RGBrgb(213, 205, 82)
HSLhsl(56, 61%, 58%)
HSVhsv(56, 62%, 84%)
CMYKcmyk(0%, 3.8%, 61.5%, 16.5%)
CIE-LABlab(80.97, -12.22, 60.39)
CIE-LCHlch(80.97, 61.61, 101.44°)
OKLaboklab(83.18% -0.0384 0.1378)
OKLCHoklch(83.18% 0.143 105.6)
XYZxyz(50.7967, 58.4197, 16.5814)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD52 #525AD5
analogous
#D58B52 #D5CD52 #9BD552
triadic
#D5CD52 #52D5CD #CD52D5
tetradic
#D5CD52 #52D58B #525AD5 #D5529B
square
#D5CD52 #52D58B #525AD5 #D5529B
split-complementary
#D5CD52 #529BD5 #8B52D5
monochromatic
#8B8422 #BCB32E #D5CD52 #E1DB83 #EDE9B4

Accessibility & contrast

On white

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

On black

12.68
#D5CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD52
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD52#FFFFFF#000000##000000
##D5CD521.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC643
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#E4C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5cd52;
/* rgb */ color: rgb(213, 205, 82);
/* oklch */ color: oklch(83.2% 0.143 105.6);
Tailwind
colors: {
  custom: {
    50: '#e5dc88',
    500: '#d5cd52',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd52;
$custom-light: #e5dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd52",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 56.336,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83175,
    "c": 0.14304,
    "h": 105.6
  },
  "luminance": 0.58418
}

Semantic roles & 50–950 ramp

primary
#D5CD52
secondary
#3A4091
accent
#4EE444
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D5CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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