#D1CA51#D1CA51

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

Color values

HEX#D1CA51
RGBrgb(209, 202, 81)
HSLhsl(57, 58%, 57%)
HSVhsv(57, 61%, 82%)
CMYKcmyk(0%, 3.3%, 61.2%, 18%)
CIE-LABlab(79.84, -12.44, 59.49)
CIE-LCHlch(79.84, 60.78, 101.81°)
OKLaboklab(82.19% -0.0389 0.1359)
OKLCHoklch(82.19% 0.141 106)
XYZxyz(48.9019, 56.3921, 16.0918)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA51 #5158D1
analogous
#D18A51 #D1CA51 #98D151
triadic
#D1CA51 #51D1CA #CA51D1
tetradic
#D1CA51 #51D18A #5158D1 #D15198
square
#D1CA51 #51D18A #5158D1 #D15198
split-complementary
#D1CA51 #5198D1 #8A51D1
monochromatic
#857F23 #B5AE30 #D1CA51 #DED981 #EBE7B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CA51#FFFFFF#000000##000000
##D1CA511.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)
#DAC343
Deuteranopia (green-blind)
#DDC858
Tritanopia (blue-blind)
#DFBEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca51;
/* rgb */ color: rgb(209, 202, 81);
/* oklch */ color: oklch(82.2% 0.141 106.0);
Tailwind
colors: {
  custom: {
    50: '#e2d987',
    500: '#d1ca51',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca51;
$custom-light: #e2d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca51",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 56.719,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82189,
    "c": 0.14131,
    "h": 106
  },
  "luminance": 0.5639
}

Semantic roles & 50–950 ramp

primary
#D1CA51
secondary
#3B3F8B
accent
#4FE146
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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