#D1CA4C#D1CA4C

#D1CA4C is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.145 H 106.1°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#D1CA4C
RGBrgb(209, 202, 76)
HSLhsl(57, 59%, 56%)
HSVhsv(57, 64%, 82%)
CMYKcmyk(0%, 3.3%, 63.6%, 18%)
CIE-LABlab(79.80, -12.75, 61.55)
CIE-LCHlch(79.80, 62.86, 101.71°)
OKLaboklab(82.14% -0.0403 0.1395)
OKLCHoklch(82.14% 0.145 106.1)
XYZxyz(48.7213, 56.3198, 15.1405)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA4C #4C53D1
analogous
#D1874C #D1CA4C #95D14C
triadic
#D1CA4C #4CD1CA #CA4CD1
tetradic
#D1CA4C #4CD187 #4C53D1 #D14C95
square
#D1CA4C #4CD187 #4C53D1 #D14C95
split-complementary
#D1CA4C #4C95D1 #874CD1
monochromatic
#817C21 #B2AB2E #D1CA4C #DED87D #EAE7AD

Accessibility & contrast

On white

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

On black

12.26
#D1CA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA4C
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA4C#FFFFFF#000000##000000
##D1CA4C1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33C
Deuteranopia (green-blind)
#DDC854
Tritanopia (blue-blind)
#E0BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca4c;
/* rgb */ color: rgb(209, 202, 76);
/* oklch */ color: oklch(82.1% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e2d984',
    500: '#d1ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca4c;
$custom-light: #e2d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca4c",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 56.842,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82143,
    "c": 0.1452,
    "h": 106.1
  },
  "luminance": 0.56318
}

Semantic roles & 50–950 ramp

primary
#D1CA4C
secondary
#393D89
accent
#4EE246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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