#D7D059#D7D059

#D7D059 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.0% C 0.140 H 105.9°. Best body text is #000000 at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#D7D059
RGBrgb(215, 208, 89)
HSLhsl(57, 61%, 60%)
HSVhsv(57, 59%, 84%)
CMYKcmyk(0%, 3.3%, 58.6%, 15.7%)
CIE-LABlab(81.99, -12.43, 58.53)
CIE-LCHlch(81.99, 59.83, 101.99°)
OKLaboklab(84.05% -0.0384 0.1347)
OKLCHoklch(84.05% 0.14 105.9)
XYZxyz(52.3851, 60.2818, 18.3254)
Luminance0.6028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D059 #5960D7
analogous
#D79159 #D7D059 #9FD759
triadic
#D7D059 #59D7D0 #D059D7
tetradic
#D7D059 #59D791 #5960D7 #D7599F
square
#D7D059 #59D791 #5960D7 #D7599F
split-complementary
#D7D059 #599FD7 #9159D7
monochromatic
#928C23 #C4BB2F #D7D059 #E3DE8A #EFECBC

Accessibility & contrast

On white

1.61
#D7D059 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.06
#D7D059 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D059
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D059#FFFFFF#000000##000000
##D7D0591.001.6113.0613.06
#FFFFFF1.611.0021.0021.00
#00000013.0621.001.001.00
##00000013.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C94C
Deuteranopia (green-blind)
#E3CE60
Tritanopia (blue-blind)
#E5C3B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d7d059;
/* rgb */ color: rgb(215, 208, 89);
/* oklch */ color: oklch(84.0% 0.140 105.9);
Tailwind
colors: {
  custom: {
    50: '#e6de8c',
    500: '#d7d059',
    950: '#000000',
  },
}
SCSS
$custom: #d7d059;
$custom-light: #e6de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d059",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 56.667,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.84046,
    "c": 0.14007,
    "h": 105.9
  },
  "luminance": 0.6028
}

Semantic roles & 50–950 ramp

primary
#D7D059
secondary
#3D4298
accent
#4CE444
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D059

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

Preview Lab → · Contrast checker → · Palette generator →

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