#D1C554#D1C554

#D1C554 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.2% C 0.134 H 103.3°. Best body text is #000000 at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#D1C554
RGBrgb(209, 197, 84)
HSLhsl(54, 58%, 57%)
HSVhsv(54, 60%, 82%)
CMYKcmyk(0%, 5.7%, 59.8%, 18%)
CIE-LABlab(78.54, -9.70, 56.77)
CIE-LCHlch(78.54, 57.59, 99.69°)
OKLaboklab(81.16% -0.0308 0.1305)
OKLCHoklch(81.16% 0.134 103.3)
XYZxyz(47.8627, 54.1297, 16.3127)
Luminance0.5413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C554 #5460D1
analogous
#D18654 #D1C554 #9FD154
triadic
#D1C554 #54D1C5 #C554D1
tetradic
#D1C554 #54D186 #5460D1 #D1549F
square
#D1C554 #54D186 #5460D1 #D1549F
split-complementary
#D1C554 #549FD1 #8654D1
monochromatic
#867D24 #B7AA31 #D1C554 #DED584 #EBE6B4

Accessibility & contrast

On white

1.78
#D1C554 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.83
#D1C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C554
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C554#FFFFFF#000000##000000
##D1C5541.001.7811.8311.83
#FFFFFF1.781.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF48
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#E0B9AD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d1c554;
/* rgb */ color: rgb(209, 197, 84);
/* oklch */ color: oklch(81.2% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2d688',
    500: '#d1c554',
    950: '#000000',
  },
}
SCSS
$custom: #d1c554;
$custom-light: #e2d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c554",
  "rgb": {
    "r": 209,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 54.24,
    "s": 57.604,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81164,
    "c": 0.13405,
    "h": 103.3
  },
  "luminance": 0.54128
}

Semantic roles & 50–950 ramp

primary
#D1C554
secondary
#3C448D
accent
#56E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1C554

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

Preview Lab → · Contrast checker → · Palette generator →

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