#D7D456#D7D456

#D7D456 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.147 H 107.9°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D7D456
RGBrgb(215, 212, 86)
HSLhsl(59, 62%, 59%)
HSVhsv(59, 60%, 84%)
CMYKcmyk(0%, 1.4%, 60%, 15.7%)
CIE-LABlab(83.02, -14.64, 60.96)
CIE-LCHlch(83.02, 62.69, 103.50°)
OKLaboklab(84.86% -0.045 0.1395)
OKLCHoklch(84.86% 0.147 107.9)
XYZxyz(53.2492, 62.2075, 18.0046)
Luminance0.6221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D456 #5659D7
analogous
#D79456 #D7D456 #9AD756
triadic
#D7D456 #56D7D4 #D456D7
tetradic
#D7D456 #56D794 #5659D7 #D7569A
square
#D7D456 #56D794 #5659D7 #D7569A
split-complementary
#D7D456 #569AD7 #9456D7
monochromatic
#908E22 #C2BE2E #D7D456 #E3E187 #EEEDB9

Accessibility & contrast

On white

1.56
#D7D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D7D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D456
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D456#FFFFFF#000000##000000
##D7D4561.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC47
Deuteranopia (green-blind)
#E6D15D
Tritanopia (blue-blind)
#E5C7B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d7d456;
/* rgb */ color: rgb(215, 212, 86);
/* oklch */ color: oklch(84.9% 0.147 107.9);
Tailwind
colors: {
  custom: {
    50: '#e6e18b',
    500: '#d7d456',
    950: '#000000',
  },
}
SCSS
$custom: #d7d456;
$custom-light: #e6e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d456",
  "rgb": {
    "r": 215,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 58.605,
    "s": 61.722,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8486,
    "c": 0.14656,
    "h": 107.9
  },
  "luminance": 0.62206
}

Semantic roles & 50–950 ramp

primary
#D7D456
secondary
#3B3E96
accent
#47E543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D456

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

Preview Lab → · Contrast checker → · Palette generator →

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