#D1CA56#D1CA56

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

Color values

HEX#D1CA56
RGBrgb(209, 202, 86)
HSLhsl(57, 57%, 58%)
HSVhsv(57, 59%, 82%)
CMYKcmyk(0%, 3.3%, 58.9%, 18%)
CIE-LABlab(79.88, -12.10, 57.37)
CIE-LCHlch(79.88, 58.63, 101.91°)
OKLaboklab(82.24% -0.0374 0.132)
OKLCHoklch(82.24% 0.137 105.8)
XYZxyz(49.0963, 56.4698, 17.1159)
Luminance0.5647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA56 #565DD1
analogous
#D18C56 #D1CA56 #9BD156
triadic
#D1CA56 #56D1CA #CA56D1
tetradic
#D1CA56 #56D18C #565DD1 #D1569B
square
#D1CA56 #56D18C #565DD1 #D1569B
split-complementary
#D1CA56 #569BD1 #8C56D1
monochromatic
#888225 #B8B032 #D1CA56 #DED986 #EBE8B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d1ca56;
/* rgb */ color: rgb(209, 202, 86);
/* oklch */ color: oklch(82.2% 0.137 105.8);
Tailwind
colors: {
  custom: {
    50: '#e2d98a',
    500: '#d1ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca56;
$custom-light: #e2d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca56",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 56.585,
    "s": 57.209,
    "l": 57.843
  },
  "oklch": {
    "l": 0.82238,
    "c": 0.1372,
    "h": 105.8
  },
  "luminance": 0.56468
}

Semantic roles & 50–950 ramp

primary
#D1CA56
secondary
#3D428E
accent
#50E047
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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