#D1C855#D1C855

#D1C855 is a light, vivid yellow. Relative luminance 0.555; OKLCH L 81.8% C 0.136 H 104.8°. Best body text is #000000 at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#D1C855
RGBrgb(209, 200, 85)
HSLhsl(56, 57%, 58%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 4.3%, 59.3%, 18%)
CIE-LABlab(79.34, -11.15, 57.22)
CIE-LCHlch(79.34, 58.29, 101.03°)
OKLaboklab(81.81% -0.0348 0.1316)
OKLCHoklch(81.81% 0.136 104.8)
XYZxyz(48.5901, 55.5214, 16.7497)
Luminance0.5552 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C855 #555ED1
analogous
#D18A55 #D1C855 #9CD155
triadic
#D1C855 #55D1C8 #C855D1
tetradic
#D1C855 #55D18A #555ED1 #D1559C
square
#D1C855 #55D18A #555ED1 #D1559C
split-complementary
#D1C855 #559CD1 #8A55D1
monochromatic
#878025 #B7AE32 #D1C855 #DED885 #EBE7B5

Accessibility & contrast

On white

1.73
#D1C855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.10
#D1C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C855
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C855#FFFFFF#000000##000000
##D1C8551.001.7312.1012.10
#FFFFFF1.731.0021.0021.00
#00000012.1021.001.001.00
##00000012.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C148
Deuteranopia (green-blind)
#DBC75B
Tritanopia (blue-blind)
#DFBCAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c855;
/* rgb */ color: rgb(209, 200, 85);
/* oklch */ color: oklch(81.8% 0.136 104.8);
Tailwind
colors: {
  custom: {
    50: '#e2d889',
    500: '#d1c855',
    950: '#000000',
  },
}
SCSS
$custom: #d1c855;
$custom-light: #e2d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c855",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 55.645,
    "s": 57.407,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81806,
    "c": 0.13608,
    "h": 104.8
  },
  "luminance": 0.5552
}

Semantic roles & 50–950 ramp

primary
#D1C855
secondary
#3C428E
accent
#52E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C855

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

Preview Lab → · Contrast checker → · Palette generator →

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