#D7CD50#D7CD50

#D7CD50 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.3% C 0.144 H 104.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D7CD50
RGBrgb(215, 205, 80)
HSLhsl(56, 63%, 58%)
HSVhsv(56, 63%, 84%)
CMYKcmyk(0%, 4.7%, 62.8%, 15.7%)
CIE-LABlab(81.12, -11.52, 61.44)
CIE-LCHlch(81.12, 62.51, 100.62°)
OKLaboklab(83.33% -0.0367 0.1397)
OKLCHoklch(83.33% 0.144 104.7)
XYZxyz(51.3055, 58.6907, 16.2138)
Luminance0.5869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD50 #505AD7
analogous
#D78A50 #D7CD50 #9DD750
triadic
#D7CD50 #50D7CD #CD50D7
tetradic
#D7CD50 #50D78A #505AD7 #D7509D
square
#D7CD50 #50D78A #505AD7 #D7509D
split-complementary
#D7CD50 #509DD7 #8A50D7
monochromatic
#8C8420 #BEB32B #D7CD50 #E2DB82 #EEE9B4

Accessibility & contrast

On white

1.65
#D7CD50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#D7CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD50
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD50#FFFFFF#000000##000000
##D7CD501.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#E2CC57
Tritanopia (blue-blind)
#E6C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cd50;
/* rgb */ color: rgb(215, 205, 80);
/* oklch */ color: oklch(83.3% 0.144 104.7);
Tailwind
colors: {
  custom: {
    50: '#e6dc87',
    500: '#d7cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd50;
$custom-light: #e6dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd50",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 55.556,
    "s": 62.791,
    "l": 57.843
  },
  "oklch": {
    "l": 0.83329,
    "c": 0.14443,
    "h": 104.7
  },
  "luminance": 0.58689
}

Semantic roles & 50–950 ramp

primary
#D7CD50
secondary
#394092
accent
#4EE642
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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