#D1CD52#D1CD52

#D1CD52 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.143 H 107.4°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D1CD52
RGBrgb(209, 205, 82)
HSLhsl(58, 58%, 57%)
HSVhsv(58, 61%, 82%)
CMYKcmyk(0%, 1.9%, 60.8%, 18%)
CIE-LABlab(80.64, -13.88, 59.94)
CIE-LCHlch(80.64, 61.53, 103.04°)
OKLaboklab(82.83% -0.0429 0.1369)
OKLCHoklch(82.83% 0.143 107.4)
XYZxyz(49.6504, 57.8287, 16.5276)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD52 #5256D1
analogous
#D18D52 #D1CD52 #96D152
triadic
#D1CD52 #52D1CD #CD52D1
tetradic
#D1CD52 #52D18D #5256D1 #D15296
square
#D1CD52 #52D18D #5256D1 #D15296
split-complementary
#D1CD52 #5296D1 #8D52D1
monochromatic
#858223 #B6B130 #D1CD52 #DEDB82 #EBE9B3

Accessibility & contrast

On white

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

On black

12.57
#D1CD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD52
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD52#FFFFFF#000000##000000
##D1CD521.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC543
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#DFC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd52;
/* rgb */ color: rgb(209, 205, 82);
/* oklch */ color: oklch(82.8% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#e2dc88',
    500: '#d1cd52',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd52;
$custom-light: #e2dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd52",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 82
  },
  "hsl": {
    "h": 58.11,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.82834,
    "c": 0.14349,
    "h": 107.4
  },
  "luminance": 0.57827
}

Semantic roles & 50–950 ramp

primary
#D1CD52
secondary
#3B3E8C
accent
#4BE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD52

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

Preview Lab → · Contrast checker → · Palette generator →

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