#D1C557#D1C557

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

Color values

HEX#D1C557
RGBrgb(209, 197, 87)
HSLhsl(54, 57%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 5.7%, 58.4%, 18%)
CIE-LABlab(78.57, -9.48, 55.47)
CIE-LCHlch(78.57, 56.27, 99.70°)
OKLaboklab(81.19% -0.0298 0.1281)
OKLCHoklch(81.19% 0.132 103.1)
XYZxyz(47.9827, 54.1777, 16.9448)
Luminance0.5418 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C557 #5763D1
analogous
#D18857 #D1C557 #A0D157
triadic
#D1C557 #57D1C5 #C557D1
tetradic
#D1C557 #57D188 #5763D1 #D157A0
square
#D1C557 #57D188 #5763D1 #D157A0
split-complementary
#D1C557 #57A0D1 #8857D1
monochromatic
#887F25 #B8AB32 #D1C557 #DED687 #EBE6B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C557#FFFFFF#000000##000000
##D1C5571.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)
#D5BF4B
Deuteranopia (green-blind)
#D9C55D
Tritanopia (blue-blind)
#DFB9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c557;
/* rgb */ color: rgb(209, 197, 87);
/* oklch */ color: oklch(81.2% 0.132 103.1);
Tailwind
colors: {
  custom: {
    50: '#e2d68a',
    500: '#d1c557',
    950: '#000000',
  },
}
SCSS
$custom: #d1c557;
$custom-light: #e2d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c557",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 54.098,
    "s": 57.009,
    "l": 58.039
  },
  "oklch": {
    "l": 0.81195,
    "c": 0.1315,
    "h": 103.1
  },
  "luminance": 0.54176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C557

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

Preview Lab → · Contrast checker → · Palette generator →

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