#D1CD54#D1CD54

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

Color values

HEX#D1CD54
RGBrgb(209, 205, 84)
HSLhsl(58, 58%, 57%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 1.9%, 59.8%, 18%)
CIE-LABlab(80.66, -13.75, 59.10)
CIE-LCHlch(80.66, 60.68, 103.09°)
OKLaboklab(82.85% -0.0423 0.1354)
OKLCHoklch(82.85% 0.142 107.3)
XYZxyz(49.7276, 57.8596, 16.9343)
Luminance0.5786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD54 #5458D1
analogous
#D18F54 #D1CD54 #97D154
triadic
#D1CD54 #54D1CD #CD54D1
tetradic
#D1CD54 #54D18F #5458D1 #D15497
square
#D1CD54 #54D18F #5458D1 #D15497
split-complementary
#D1CD54 #5497D1 #8F54D1
monochromatic
#868324 #B7B231 #D1CD54 #DEDB84 #EBE9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD54#FFFFFF#000000##000000
##D1CD541.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)
#DDC646
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#DFC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd54;
/* rgb */ color: rgb(209, 205, 84);
/* oklch */ color: oklch(82.9% 0.142 107.3);
Tailwind
colors: {
  custom: {
    50: '#e2dc89',
    500: '#d1cd54',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd54;
$custom-light: #e2dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd54",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 58.08,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82854,
    "c": 0.14187,
    "h": 107.3
  },
  "luminance": 0.57858
}

Semantic roles & 50–950 ramp

primary
#D1CD54
secondary
#3C3F8D
accent
#4CE147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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