#D1CA54#D1CA54

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

Color values

HEX#D1CA54
RGBrgb(209, 202, 84)
HSLhsl(57, 58%, 57%)
HSVhsv(57, 60%, 82%)
CMYKcmyk(0%, 3.3%, 59.8%, 18%)
CIE-LABlab(79.86, -12.24, 58.23)
CIE-LCHlch(79.86, 59.50, 101.87°)
OKLaboklab(82.22% -0.038 0.1336)
OKLCHoklch(82.22% 0.139 105.9)
XYZxyz(49.0169, 56.4381, 16.6974)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA54 #545BD1
analogous
#D18C54 #D1CA54 #9AD154
triadic
#D1CA54 #54D1CA #CA54D1
tetradic
#D1CA54 #54D18C #545BD1 #D1549A
square
#D1CA54 #54D18C #545BD1 #D1549A
split-complementary
#D1CA54 #549AD1 #8C54D1
monochromatic
#868124 #B7AF31 #D1CA54 #DED984 #EBE8B4

Accessibility & contrast

On white

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

On black

12.29
#D1CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA54
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA54#FFFFFF#000000##000000
##D1CA541.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC347
Deuteranopia (green-blind)
#DDC85B
Tritanopia (blue-blind)
#DFBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca54;
/* rgb */ color: rgb(209, 202, 84);
/* oklch */ color: oklch(82.2% 0.139 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d989',
    500: '#d1ca54',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca54;
$custom-light: #e2d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca54",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 56.64,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82218,
    "c": 0.13887,
    "h": 105.9
  },
  "luminance": 0.56436
}

Semantic roles & 50–950 ramp

primary
#D1CA54
secondary
#3C418D
accent
#50E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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