#D4C550#D4C550

#D4C550 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.137 H 102.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#D4C550
RGBrgb(212, 197, 80)
HSLhsl(53, 61%, 57%)
HSVhsv(53, 62%, 83%)
CMYKcmyk(0%, 7.1%, 62.3%, 16.9%)
CIE-LABlab(78.76, -8.71, 58.83)
CIE-LCHlch(78.76, 59.47, 98.42°)
OKLaboklab(81.39% -0.0286 0.1342)
OKLCHoklch(81.39% 0.137 102)
XYZxyz(48.5675, 54.5107, 15.5512)
Luminance0.5451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4C550 #505FD4
analogous
#D48350 #D4C550 #A1D450
triadic
#D4C550 #50D4C5 #C550D4
tetradic
#D4C550 #50D483 #505FD4 #D450A1
square
#D4C550 #50D483 #505FD4 #D450A1
split-complementary
#D4C550 #50A1D4 #8350D4
monochromatic
#887C21 #B9A92E #D4C550 #E0D581 #ECE6B2

Accessibility & contrast

On white

1.76
#D4C550 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.90
#D4C550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4C550
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4C550#FFFFFF#000000##000000
##D4C5501.001.7611.9011.90
#FFFFFF1.761.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#DAC656
Tritanopia (blue-blind)
#E3B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d4c550;
/* rgb */ color: rgb(212, 197, 80);
/* oklch */ color: oklch(81.4% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#e4d686',
    500: '#d4c550',
    950: '#000000',
  },
}
SCSS
$custom: #d4c550;
$custom-light: #e4d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d4c550",
  "rgb": {
    "r": 212,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 53.182,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.8139,
    "c": 0.13724,
    "h": 102
  },
  "luminance": 0.54509
}

Semantic roles & 50–950 ramp

primary
#D4C550
secondary
#3A438F
accent
#56E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D4C550

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

Preview Lab → · Contrast checker → · Palette generator →

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