#D1CA58#D1CA58

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

Color values

HEX#D1CA58
RGBrgb(209, 202, 88)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 58%, 82%)
CMYKcmyk(0%, 3.3%, 57.9%, 18%)
CIE-LABlab(79.90, -11.95, 56.51)
CIE-LCHlch(79.90, 57.76, 101.94°)
OKLaboklab(82.26% -0.0368 0.1304)
OKLCHoklch(82.26% 0.136 105.7)
XYZxyz(49.1781, 56.5025, 17.5462)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA58 #585FD1
analogous
#D18D58 #D1CA58 #9BD158
triadic
#D1CA58 #58D1CA #CA58D1
tetradic
#D1CA58 #58D18D #585FD1 #D1589B
square
#D1CA58 #58D18D #585FD1 #D1589B
split-complementary
#D1CA58 #589BD1 #8D58D1
monochromatic
#898326 #B9B133 #D1CA58 #DED988 #EBE8B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CA58#FFFFFF#000000##000000
##D1CA581.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)
#DAC34C
Deuteranopia (green-blind)
#DDC85E
Tritanopia (blue-blind)
#DFBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca58;
/* rgb */ color: rgb(209, 202, 88);
/* oklch */ color: oklch(82.3% 0.136 105.7);
Tailwind
colors: {
  custom: {
    50: '#e2d98b',
    500: '#d1ca58',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca58;
$custom-light: #e2d98b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca58",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 88
  },
  "hsl": {
    "h": 56.529,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82259,
    "c": 0.1355,
    "h": 105.7
  },
  "luminance": 0.56501
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CA58

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

Preview Lab → · Contrast checker → · Palette generator →

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