#D7D062#D7D062

#D7D062 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.1% C 0.132 H 105.6°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D7D062
RGBrgb(215, 208, 98)
HSLhsl(56, 59%, 61%)
HSVhsv(56, 54%, 84%)
CMYKcmyk(0%, 3.3%, 54.4%, 15.7%)
CIE-LABlab(82.08, -11.76, 54.59)
CIE-LCHlch(82.08, 55.84, 102.16°)
OKLaboklab(84.14% -0.0355 0.1273)
OKLCHoklch(84.14% 0.132 105.6)
XYZxyz(52.7864, 60.4423, 20.4388)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D062 #6269D7
analogous
#D79662 #D7D062 #A4D762
triadic
#D7D062 #62D7D0 #D062D7
tetradic
#D7D062 #62D796 #6269D7 #D762A4
square
#D7D062 #62D796 #6269D7 #D762A4
split-complementary
#D7D062 #62A4D7 #9662D7
monochromatic
#989127 #C9C033 #D7D062 #E3DF93 #F0EDC4

Accessibility & contrast

On white

1.60
#D7D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D7D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D062
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D062#FFFFFF#000000##000000
##D7D0621.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C957
Deuteranopia (green-blind)
#E3CE68
Tritanopia (blue-blind)
#E5C4B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d062;
/* rgb */ color: rgb(215, 208, 98);
/* oklch */ color: oklch(84.1% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#e6de92',
    500: '#d7d062',
    950: '#000000',
  },
}
SCSS
$custom: #d7d062;
$custom-light: #e6de92;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d062",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 56.41,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84143,
    "c": 0.13218,
    "h": 105.6
  },
  "luminance": 0.60441
}

Semantic roles & 50–950 ramp

primary
#D7D062
secondary
#41469D
accent
#29C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D062

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

Preview Lab → · Contrast checker → · Palette generator →

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