#D2C554#D2C554

#D2C554 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.134 H 102.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#D2C554
RGBrgb(210, 197, 84)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 60%, 82%)
CMYKcmyk(0%, 6.2%, 60%, 17.6%)
CIE-LABlab(78.62, -9.28, 56.89)
CIE-LCHlch(78.62, 57.64, 99.26°)
OKLaboklab(81.25% -0.0296 0.1307)
OKLCHoklch(81.25% 0.134 102.8)
XYZxyz(48.1466, 54.2760, 16.3260)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C554 #5461D2
analogous
#D28654 #D2C554 #A0D254
triadic
#D2C554 #54D2C5 #C554D2
tetradic
#D2C554 #54D286 #5461D2 #D254A0
square
#D2C554 #54D286 #5461D2 #D254A0
split-complementary
#D2C554 #54A0D2 #8654D2
monochromatic
#887E24 #B8AA31 #D2C554 #DFD584 #EBE6B5

Accessibility & contrast

On white

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

On black

11.85
#D2C554 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C554
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C554#FFFFFF#000000##000000
##D2C5541.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF47
Deuteranopia (green-blind)
#D9C55A
Tritanopia (blue-blind)
#E1B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c554;
/* rgb */ color: rgb(210, 197, 84);
/* oklch */ color: oklch(81.3% 0.134 102.8);
Tailwind
colors: {
  custom: {
    50: '#e3d688',
    500: '#d2c554',
    950: '#000000',
  },
}
SCSS
$custom: #d2c554;
$custom-light: #e3d688;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c554",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 84
  },
  "hsl": {
    "h": 53.81,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81252,
    "c": 0.13402,
    "h": 102.8
  },
  "luminance": 0.54274
}

Semantic roles & 50–950 ramp

primary
#D2C554
secondary
#3C448E
accent
#56E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C554

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

Preview Lab → · Contrast checker → · Palette generator →

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