#D1CD58#D1CD58

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

Color values

HEX#D1CD58
RGBrgb(209, 205, 88)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 58%, 82%)
CMYKcmyk(0%, 1.9%, 57.9%, 18%)
CIE-LABlab(80.70, -13.47, 57.39)
CIE-LCHlch(80.70, 58.95, 103.21°)
OKLaboklab(82.89% -0.0411 0.1323)
OKLCHoklch(82.89% 0.139 107.2)
XYZxyz(49.8888, 57.9240, 17.7831)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD58 #585CD1
analogous
#D19158 #D1CD58 #98D158
triadic
#D1CD58 #58D1CD #CD58D1
tetradic
#D1CD58 #58D191 #585CD1 #D15898
square
#D1CD58 #58D191 #585CD1 #D15898
split-complementary
#D1CD58 #5898D1 #9158D1
monochromatic
#898626 #B9B433 #D1CD58 #DEDB88 #EBEAB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD58#FFFFFF#000000##000000
##D1CD581.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)
#DDC64B
Deuteranopia (green-blind)
#DFCA5F
Tritanopia (blue-blind)
#DFC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd58;
/* rgb */ color: rgb(209, 205, 88);
/* oklch */ color: oklch(82.9% 0.139 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc8b',
    500: '#d1cd58',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd58;
$custom-light: #e2dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd58",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 88
  },
  "hsl": {
    "h": 58.017,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82894,
    "c": 0.13853,
    "h": 107.2
  },
  "luminance": 0.57923
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CD58

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

Preview Lab → · Contrast checker → · Palette generator →

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