#D1CC50#D1CC50

#D1CC50 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.144 H 107.0°. Best body text is #000000 at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#D1CC50
RGBrgb(209, 204, 80)
HSLhsl(58, 58%, 57%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 2.4%, 61.7%, 18%)
CIE-LABlab(80.36, -13.51, 60.48)
CIE-LCHlch(80.36, 61.97, 102.59°)
OKLaboklab(82.6% -0.042 0.1378)
OKLCHoklch(82.6% 0.144 107)
XYZxyz(49.3370, 57.3218, 16.0532)
Luminance0.5732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CC50 #5055D1
analogous
#D18B50 #D1CC50 #96D150
triadic
#D1CC50 #50D1CC #CC50D1
tetradic
#D1CC50 #50D18B #5055D1 #D15096
square
#D1CC50 #50D18B #5055D1 #D15096
split-complementary
#D1CC50 #5096D1 #8B50D1
monochromatic
#848023 #B4AF2F #D1CC50 #DEDA80 #EAE8B1

Accessibility & contrast

On white

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

On black

12.46
#D1CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CC50
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CC50#FFFFFF#000000##000000
##D1CC501.001.6812.4612.46
#FFFFFF1.681.0021.0021.00
#00000012.4621.001.001.00
##00000012.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#DFBFB2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d1cc50;
/* rgb */ color: rgb(209, 204, 80);
/* oklch */ color: oklch(82.6% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#e2db86',
    500: '#d1cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d1cc50;
$custom-light: #e2db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cc50",
  "rgb": {
    "r": 209,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 57.674,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82603,
    "c": 0.14407,
    "h": 107
  },
  "luminance": 0.5732
}

Semantic roles & 50–950 ramp

primary
#D1CC50
secondary
#3A3D8B
accent
#4CE246
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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