#D1C558#D1C558

#D1C558 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.131 H 103.1°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#D1C558
RGBrgb(209, 197, 88)
HSLhsl(54, 57%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 5.7%, 57.9%, 18%)
CIE-LABlab(78.57, -9.41, 55.03)
CIE-LCHlch(78.57, 55.82, 99.71°)
OKLaboklab(81.21% -0.0295 0.1273)
OKLCHoklch(81.21% 0.131 103.1)
XYZxyz(48.0239, 54.1941, 17.1615)
Luminance0.5419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C558 #5864D1
analogous
#D18858 #D1C558 #A0D158
triadic
#D1C558 #58D1C5 #C558D1
tetradic
#D1C558 #58D188 #5864D1 #D158A0
square
#D1C558 #58D188 #5864D1 #D158A0
split-complementary
#D1C558 #58A0D1 #8858D1
monochromatic
#897F26 #B9AC33 #D1C558 #DED688 #EBE6B8

Accessibility & contrast

On white

1.77
#D1C558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#D1C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C558
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C558#FFFFFF#000000##000000
##D1C5581.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#D9C55E
Tritanopia (blue-blind)
#DFB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c558;
/* rgb */ color: rgb(209, 197, 88);
/* oklch */ color: oklch(81.2% 0.131 103.1);
Tailwind
colors: {
  custom: {
    50: '#e2d68b',
    500: '#d1c558',
    950: '#000000',
  },
}
SCSS
$custom: #d1c558;
$custom-light: #e2d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c558",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 54.05,
    "s": 56.808,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81206,
    "c": 0.13062,
    "h": 103.1
  },
  "luminance": 0.54192
}

Semantic roles & 50–950 ramp

primary
#D1C558
secondary
#3E468F
accent
#57E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C558

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

Preview Lab → · Contrast checker → · Palette generator →

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