#D1CA55#D1CA55

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

Color values

HEX#D1CA55
RGBrgb(209, 202, 85)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 3.3%, 59.3%, 18%)
CIE-LABlab(79.87, -12.17, 57.80)
CIE-LCHlch(79.87, 59.07, 101.89°)
OKLaboklab(82.23% -0.0377 0.1328)
OKLCHoklch(82.23% 0.138 105.8)
XYZxyz(49.0563, 56.4538, 16.9052)
Luminance0.5645 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA55 #555CD1
analogous
#D18C55 #D1CA55 #9AD155
triadic
#D1CA55 #55D1CA #CA55D1
tetradic
#D1CA55 #55D18C #555CD1 #D1559A
square
#D1CA55 #55D18C #555CD1 #D1559A
split-complementary
#D1CA55 #559AD1 #8C55D1
monochromatic
#878125 #B7B032 #D1CA55 #DED985 #EBE8B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CA55#FFFFFF#000000##000000
##D1CA551.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)
#DAC348
Deuteranopia (green-blind)
#DDC85C
Tritanopia (blue-blind)
#DFBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca55;
/* rgb */ color: rgb(209, 202, 85);
/* oklch */ color: oklch(82.2% 0.138 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2d989',
    500: '#d1ca55',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca55;
$custom-light: #e2d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca55",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 56.613,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82228,
    "c": 0.13804,
    "h": 105.8
  },
  "luminance": 0.56452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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