#D7C550#D7C550

#D7C550 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.7% C 0.137 H 100.6°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#D7C550
RGBrgb(215, 197, 80)
HSLhsl(52, 63%, 58%)
HSVhsv(52, 63%, 84%)
CMYKcmyk(0%, 8.4%, 62.8%, 15.7%)
CIE-LABlab(79.02, -7.45, 59.19)
CIE-LCHlch(79.02, 59.66, 97.17°)
OKLaboklab(81.66% -0.0252 0.1349)
OKLCHoklch(81.66% 0.137 100.6)
XYZxyz(49.4405, 54.9608, 15.5921)
Luminance0.5496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7C550 #5062D7
analogous
#D78150 #D7C550 #A5D750
triadic
#D7C550 #50D7C5 #C550D7
tetradic
#D7C550 #50D781 #5062D7 #D750A5
square
#D7C550 #50D781 #5062D7 #D750A5
split-complementary
#D7C550 #50A5D7 #8150D7
monochromatic
#8C7E20 #BEAB2B #D7C550 #E2D682 #EEE6B4

Accessibility & contrast

On white

1.75
#D7C550 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.99
#D7C550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7C550
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7C550#FFFFFF#000000##000000
##D7C5501.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C042
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#E7B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d7c550;
/* rgb */ color: rgb(215, 197, 80);
/* oklch */ color: oklch(81.7% 0.137 100.6);
Tailwind
colors: {
  custom: {
    50: '#e6d686',
    500: '#d7c550',
    950: '#000000',
  },
}
SCSS
$custom: #d7c550;
$custom-light: #e6d686;
$custom-dark: #000000;
JSON
{
  "hex": "#d7c550",
  "rgb": {
    "r": 215,
    "g": 197,
    "b": 80
  },
  "hsl": {
    "h": 52,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81658,
    "c": 0.13724,
    "h": 100.6
  },
  "luminance": 0.54959
}

Semantic roles & 50–950 ramp

primary
#D7C550
secondary
#394592
accent
#58E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7C550

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

Preview Lab → · Contrast checker → · Palette generator →

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