#D2C558#D2C558

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

Color values

HEX#D2C558
RGBrgb(210, 197, 88)
HSLhsl(54, 58%, 58%)
HSVhsv(54, 58%, 82%)
CMYKcmyk(0%, 6.2%, 58.1%, 17.6%)
CIE-LABlab(78.66, -9.00, 55.14)
CIE-LCHlch(78.66, 55.87, 99.26°)
OKLaboklab(81.29% -0.0284 0.1275)
OKLCHoklch(81.29% 0.131 102.5)
XYZxyz(48.3077, 54.3405, 17.1748)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C558 #5865D2
analogous
#D28858 #D2C558 #A2D258
triadic
#D2C558 #58D2C5 #C558D2
tetradic
#D2C558 #58D288 #5865D2 #D258A2
square
#D2C558 #58D288 #5865D2 #D258A2
split-complementary
#D2C558 #58A2D2 #8858D2
monochromatic
#8A8025 #BBAC32 #D2C558 #DFD688 #ECE6B8

Accessibility & contrast

On white

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

On black

11.87
#D2C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C558
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C558#FFFFFF#000000##000000
##D2C5581.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c558;
/* rgb */ color: rgb(210, 197, 88);
/* oklch */ color: oklch(81.3% 0.131 102.5);
Tailwind
colors: {
  custom: {
    50: '#e2d68b',
    500: '#d2c558',
    950: '#000000',
  },
}
SCSS
$custom: #d2c558;
$custom-light: #e2d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c558",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 53.607,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.81294,
    "c": 0.13061,
    "h": 102.5
  },
  "luminance": 0.54339
}

Semantic roles & 50–950 ramp

primary
#D2C558
secondary
#3E4691
accent
#57E147
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C558

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

Preview Lab → · Contrast checker → · Palette generator →

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