#D7D032#D7D032

#D7D032 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.7% C 0.166 H 106.8°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#D7D032
RGBrgb(215, 208, 50)
HSLhsl(57, 67%, 52%)
HSVhsv(57, 77%, 84%)
CMYKcmyk(0%, 3.3%, 76.7%, 15.7%)
CIE-LABlab(81.72, -14.51, 72.97)
CIE-LCHlch(81.72, 74.40, 101.24°)
OKLaboklab(83.75% -0.0481 0.159)
OKLCHoklch(83.75% 0.166 106.8)
XYZxyz(51.1581, 59.7910, 11.8630)
Luminance0.5979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D032 #3239D7
analogous
#D77E32 #D7D032 #8BD732
triadic
#D7D032 #32D7D0 #D032D7
tetradic
#D7D032 #32D77E #3239D7 #D7328B
square
#D7D032 #32D77E #3239D7 #D7328B
split-complementary
#D7D032 #328BD7 #7E32D7
monochromatic
#777317 #ABA521 #D7D032 #E1DC65 #EBE798

Accessibility & contrast

On white

1.62
#D7D032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#D7D032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D032
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D032#FFFFFF#000000##000000
##D7D0321.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C802
Deuteranopia (green-blind)
#E5CE3F
Tritanopia (blue-blind)
#E7C2B3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7d032;
/* rgb */ color: rgb(215, 208, 50);
/* oklch */ color: oklch(83.7% 0.166 106.8);
Tailwind
colors: {
  custom: {
    50: '#e7de77',
    500: '#d7d032',
    950: '#000000',
  },
}
SCSS
$custom: #d7d032;
$custom-light: #e7de77;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d032",
  "rgb": {
    "r": 215,
    "g": 208,
    "b": 50
  },
  "hsl": {
    "h": 57.455,
    "s": 67.347,
    "l": 51.961
  },
  "oklch": {
    "l": 0.83748,
    "c": 0.16612,
    "h": 106.8
  },
  "luminance": 0.59789
}

Semantic roles & 50–950 ramp

primary
#D7D032
secondary
#2E317F
accent
#45EA3E
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#17150A
muted
#85847D

Preview Lab

Preview with #D7D032

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

Preview Lab → · Contrast checker → · Palette generator →

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