#D1CD50#D1CD50

#D1CD50 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.145 H 107.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D1CD50
RGBrgb(209, 205, 80)
HSLhsl(58, 58%, 57%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 1.9%, 61.7%, 18%)
CIE-LABlab(80.63, -14.01, 60.77)
CIE-LCHlch(80.63, 62.36, 102.99°)
OKLaboklab(82.82% -0.0435 0.1384)
OKLCHoklch(82.82% 0.145 107.4)
XYZxyz(49.5754, 57.7987, 16.1327)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD50 #5054D1
analogous
#D18D50 #D1CD50 #94D150
triadic
#D1CD50 #50D1CD #CD50D1
tetradic
#D1CD50 #50D18D #5054D1 #D15094
square
#D1CD50 #50D18D #5054D1 #D15094
split-complementary
#D1CD50 #5094D1 #8D50D1
monochromatic
#848123 #B4B02F #D1CD50 #DEDB80 #EAE9B1

Accessibility & contrast

On white

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

On black

12.56
#D1CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD50
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD50#FFFFFF#000000##000000
##D1CD501.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC541
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#DFC0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd50;
/* rgb */ color: rgb(209, 205, 80);
/* oklch */ color: oklch(82.8% 0.145 107.4);
Tailwind
colors: {
  custom: {
    50: '#e2dc87',
    500: '#d1cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd50;
$custom-light: #e2dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd50",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 58.14,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82816,
    "c": 0.14508,
    "h": 107.4
  },
  "luminance": 0.57797
}

Semantic roles & 50–950 ramp

primary
#D1CD50
secondary
#3A3D8B
accent
#4BE246
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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