#D1CD45#D1CD45

#D1CD45 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.153 H 107.7°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D1CD45
RGBrgb(209, 205, 69)
HSLhsl(58, 60%, 55%)
HSVhsv(58, 67%, 82%)
CMYKcmyk(0%, 1.9%, 67%, 18%)
CIE-LABlab(80.54, -14.67, 65.11)
CIE-LCHlch(80.54, 66.75, 102.69°)
OKLaboklab(82.72% -0.0465 0.1459)
OKLCHoklch(82.72% 0.153 107.7)
XYZxyz(49.2018, 57.6492, 14.1647)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD45 #4549D1
analogous
#D18745 #D1CD45 #8FD145
triadic
#D1CD45 #45D1CD #CD45D1
tetradic
#D1CD45 #45D187 #4549D1 #D1458F
square
#D1CD45 #45D187 #4549D1 #D1458F
split-complementary
#D1CD45 #458FD1 #8745D1
monochromatic
#7D7A1F #AEAA2B #D1CD45 #DDDA76 #E9E7A7

Accessibility & contrast

On white

1.68
#D1CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D1CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD45
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD45#FFFFFF#000000##000000
##D1CD451.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC531
Deuteranopia (green-blind)
#E0CA4E
Tritanopia (blue-blind)
#E0C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd45;
/* rgb */ color: rgb(209, 205, 69);
/* oklch */ color: oklch(82.7% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#e2dc80',
    500: '#d1cd45',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd45;
$custom-light: #e2dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd45",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 58.286,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82722,
    "c": 0.15313,
    "h": 107.7
  },
  "luminance": 0.57648
}

Semantic roles & 50–950 ramp

primary
#D1CD45
secondary
#363884
accent
#49E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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