#D1CD57#D1CD57

#D1CD57 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.139 H 107.3°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D1CD57
RGBrgb(209, 205, 87)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 1.9%, 58.4%, 18%)
CIE-LABlab(80.69, -13.54, 57.83)
CIE-LCHlch(80.69, 59.39, 103.18°)
OKLaboklab(82.88% -0.0414 0.1331)
OKLCHoklch(82.88% 0.139 107.3)
XYZxyz(49.8477, 57.9076, 17.5664)
Luminance0.5791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD57 #575BD1
analogous
#D19057 #D1CD57 #98D157
triadic
#D1CD57 #57D1CD #CD57D1
tetradic
#D1CD57 #57D190 #575BD1 #D15798
square
#D1CD57 #57D190 #575BD1 #D15798
split-complementary
#D1CD57 #5798D1 #9057D1
monochromatic
#888525 #B8B432 #D1CD57 #DEDB87 #EBEAB7

Accessibility & contrast

On white

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

On black

12.58
#D1CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD57
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD57#FFFFFF#000000##000000
##D1CD571.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#DFCA5E
Tritanopia (blue-blind)
#DFC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd57;
/* rgb */ color: rgb(209, 205, 87);
/* oklch */ color: oklch(82.9% 0.139 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc8b',
    500: '#d1cd57',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd57;
$custom-light: #e2dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd57",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 58.033,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82883,
    "c": 0.13938,
    "h": 107.3
  },
  "luminance": 0.57906
}

Semantic roles & 50–950 ramp

primary
#D1CD57
secondary
#3D408F
accent
#4DE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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