#D1CD41#D1CD41

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

Color values

HEX#D1CD41
RGBrgb(209, 205, 65)
HSLhsl(58, 61%, 54%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 1.9%, 68.9%, 18%)
CIE-LABlab(80.52, -14.88, 66.60)
CIE-LCHlch(80.52, 68.24, 102.59°)
OKLaboklab(82.69% -0.0475 0.1484)
OKLCHoklch(82.69% 0.156 107.7)
XYZxyz(49.0818, 57.6012, 13.5327)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD41 #4145D1
analogous
#D18541 #D1CD41 #8DD141
triadic
#D1CD41 #41D1CD #CD41D1
tetradic
#D1CD41 #41D185 #4145D1 #D1418D
square
#D1CD41 #41D185 #4145D1 #D1418D
split-complementary
#D1CD41 #418DD1 #8541D1
monochromatic
#7A771E #ABA829 #D1CD41 #DDDA72 #E9E7A4

Accessibility & contrast

On white

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

On black

12.52
#D1CD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD41
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD41#FFFFFF#000000##000000
##D1CD411.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#E0C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd41;
/* rgb */ color: rgb(209, 205, 65);
/* oklch */ color: oklch(82.7% 0.156 107.7);
Tailwind
colors: {
  custom: {
    50: '#e3dc7e',
    500: '#d1cd41',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd41;
$custom-light: #e3dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd41",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 65
  },
  "hsl": {
    "h": 58.333,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82693,
    "c": 0.15579,
    "h": 107.7
  },
  "luminance": 0.576
}

Semantic roles & 50–950 ramp

primary
#D1CD41
secondary
#343682
accent
#48E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D1CD41

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

Preview Lab → · Contrast checker → · Palette generator →

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