#D7CD62#D7CD62

#D7CD62 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.129 H 103.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D7CD62
RGBrgb(215, 205, 98)
HSLhsl(55, 59%, 61%)
HSVhsv(55, 54%, 84%)
CMYKcmyk(0%, 4.7%, 54.4%, 15.7%)
CIE-LABlab(81.29, -10.24, 53.68)
CIE-LCHlch(81.29, 54.64, 100.80°)
OKLaboklab(83.52% -0.0311 0.1254)
OKLCHoklch(83.52% 0.129 103.9)
XYZxyz(52.0619, 58.9933, 20.1973)
Luminance0.5899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD62 #626CD7
analogous
#D79362 #D7CD62 #A7D762
triadic
#D7CD62 #62D7CD #CD62D7
tetradic
#D7CD62 #62D793 #626CD7 #D762A7
square
#D7CD62 #62D793 #626CD7 #D762A7
split-complementary
#D7CD62 #62A7D7 #9362D7
monochromatic
#988E27 #C9BC33 #D7CD62 #E3DD93 #F0ECC4

Accessibility & contrast

On white

1.64
#D7CD62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D7CD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD62
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD62#FFFFFF#000000##000000
##D7CD621.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC758
Deuteranopia (green-blind)
#E0CC67
Tritanopia (blue-blind)
#E5C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d7cd62;
/* rgb */ color: rgb(215, 205, 98);
/* oklch */ color: oklch(83.5% 0.129 103.9);
Tailwind
colors: {
  custom: {
    50: '#e6dc92',
    500: '#d7cd62',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd62;
$custom-light: #e6dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd62",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 98
  },
  "hsl": {
    "h": 54.872,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.83515,
    "c": 0.12919,
    "h": 103.9
  },
  "luminance": 0.58992
}

Semantic roles & 50–950 ramp

primary
#D7CD62
secondary
#41489D
accent
#2DC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7CD62

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

Preview Lab → · Contrast checker → · Palette generator →

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