#D2C550#D2C550

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

Color values

HEX#D2C550
RGBrgb(210, 197, 80)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 6.2%, 61.9%, 17.6%)
CIE-LABlab(78.59, -9.55, 58.60)
CIE-LCHlch(78.59, 59.37, 99.25°)
OKLaboklab(81.21% -0.0308 0.1338)
OKLCHoklch(81.21% 0.137 103)
XYZxyz(47.9944, 54.2152, 15.5243)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C550 #505DD2
analogous
#D28450 #D2C550 #9ED250
triadic
#D2C550 #50D2C5 #C550D2
tetradic
#D2C550 #50D284 #505DD2 #D2509E
square
#D2C550 #50D284 #505DD2 #D2509E
split-complementary
#D2C550 #509ED2 #8450D2
monochromatic
#857B22 #B6A82F #D2C550 #DFD581 #EBE5B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C550#FFFFFF#000000##000000
##D2C5501.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)
#D6BF42
Deuteranopia (green-blind)
#DAC556
Tritanopia (blue-blind)
#E1B8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c550;
/* rgb */ color: rgb(210, 197, 80);
/* oklch */ color: oklch(81.2% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#e3d686',
    500: '#d2c550',
    950: '#000000',
  },
}
SCSS
$custom: #d2c550;
$custom-light: #e3d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c550",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 54,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81213,
    "c": 0.13729,
    "h": 103
  },
  "luminance": 0.54213
}

Semantic roles & 50–950 ramp

primary
#D2C550
secondary
#3A428C
accent
#55E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C550

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

Preview Lab → · Contrast checker → · Palette generator →

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