#D1CA59#D1CA59

#D1CA59 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.135 H 105.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D1CA59
RGBrgb(209, 202, 89)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 57%, 82%)
CMYKcmyk(0%, 3.3%, 57.4%, 18%)
CIE-LABlab(79.91, -11.88, 56.07)
CIE-LCHlch(79.91, 57.32, 101.96°)
OKLaboklab(82.27% -0.0364 0.1296)
OKLCHoklch(82.27% 0.135 105.7)
XYZxyz(49.2198, 56.5192, 17.7658)
Luminance0.5652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA59 #5960D1
analogous
#D18E59 #D1CA59 #9CD159
triadic
#D1CA59 #59D1CA #CA59D1
tetradic
#D1CA59 #59D18E #5960D1 #D1599C
square
#D1CA59 #59D18E #5960D1 #D1599C
split-complementary
#D1CA59 #599CD1 #8E59D1
monochromatic
#898426 #B9B233 #D1CA59 #DED989 #ECE9B9

Accessibility & contrast

On white

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

On black

12.30
#D1CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA59
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA59#FFFFFF#000000##000000
##D1CA591.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1ca59;
/* rgb */ color: rgb(209, 202, 89);
/* oklch */ color: oklch(82.3% 0.135 105.7);
Tailwind
colors: {
  custom: {
    50: '#e2d98c',
    500: '#d1ca59',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca59;
$custom-light: #e2d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca59",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 56.5,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82269,
    "c": 0.13464,
    "h": 105.7
  },
  "luminance": 0.56518
}

Semantic roles & 50–950 ramp

primary
#D1CA59
secondary
#3E4390
accent
#51E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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