#D1CA50#D1CA50

#D1CA50 is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.142 H 106.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D1CA50
RGBrgb(209, 202, 80)
HSLhsl(57, 58%, 57%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 3.3%, 61.7%, 18%)
CIE-LABlab(79.83, -12.50, 59.91)
CIE-LCHlch(79.83, 61.20, 101.79°)
OKLaboklab(82.18% -0.0392 0.1366)
OKLCHoklch(82.18% 0.142 106)
XYZxyz(48.8647, 56.3772, 15.8957)
Luminance0.5638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA50 #5057D1
analogous
#D18A50 #D1CA50 #98D150
triadic
#D1CA50 #50D1CA #CA50D1
tetradic
#D1CA50 #50D18A #5057D1 #D15098
square
#D1CA50 #50D18A #5057D1 #D15098
split-complementary
#D1CA50 #5098D1 #8A50D1
monochromatic
#847F23 #B4AD2F #D1CA50 #DED980 #EAE7B1

Accessibility & contrast

On white

1.71
#D1CA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D1CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA50
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA50#FFFFFF#000000##000000
##D1CA501.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC341
Deuteranopia (green-blind)
#DDC857
Tritanopia (blue-blind)
#DFBDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca50;
/* rgb */ color: rgb(209, 202, 80);
/* oklch */ color: oklch(82.2% 0.142 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2d986',
    500: '#d1ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca50;
$custom-light: #e2d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca50",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 56.744,
    "s": 58.371,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82179,
    "c": 0.1421,
    "h": 106
  },
  "luminance": 0.56376
}

Semantic roles & 50–950 ramp

primary
#D1CA50
secondary
#3A3F8B
accent
#4FE246
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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