#D7D56D#D7D56D

#D7D56D is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.3% C 0.127 H 107.8°. Best body text is #000000 at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#D7D56D
RGBrgb(215, 213, 109)
HSLhsl(59, 57%, 64%)
HSVhsv(59, 49%, 84%)
CMYKcmyk(0%, 0.9%, 49.3%, 15.7%)
CIE-LABlab(83.52, -13.36, 51.14)
CIE-LCHlch(83.52, 52.86, 104.64°)
OKLaboklab(85.33% -0.0389 0.1209)
OKLCHoklch(85.33% 0.127 107.8)
XYZxyz(54.5802, 63.1411, 23.7773)
Luminance0.6314 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D56D #6D6FD7
analogous
#D7A06D #D7D56D #A4D76D
triadic
#D7D56D #6DD7D5 #D56DD7
tetradic
#D7D56D #6DD7A0 #6D6FD7 #D76DA4
square
#D7D56D #6DD7A0 #6D6FD7 #D76DA4
split-complementary
#D7D56D #6DA4D7 #A06DD7
monochromatic
#9E9C2B #CAC73D #D7D56D #E4E39D #F1F1CD

Accessibility & contrast

On white

1.54
#D7D56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.63
#D7D56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D56D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D56D#FFFFFF#000000##000000
##D7D56D1.001.5413.6313.63
#FFFFFF1.541.0021.0021.00
#00000013.6321.001.001.00
##00000013.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE64
Deuteranopia (green-blind)
#E5D272
Tritanopia (blue-blind)
#E4CABD
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d56d;
/* rgb */ color: rgb(215, 213, 109);
/* oklch */ color: oklch(85.3% 0.127 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5e199',
    500: '#d7d56d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d56d;
$custom-light: #e5e199;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d56d",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 109
  },
  "hsl": {
    "h": 58.868,
    "s": 56.989,
    "l": 63.529
  },
  "oklch": {
    "l": 0.85326,
    "c": 0.12704,
    "h": 107.8
  },
  "luminance": 0.6314
}

Semantic roles & 50–950 ramp

primary
#D7D56D
secondary
#4648A2
accent
#24C521
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D56D

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

Preview Lab → · Contrast checker → · Palette generator →

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