#D7D56F#D7D56F

#D7D56F is a very light, vivid yellow. Relative luminance 0.632; OKLCH L 85.4% C 0.125 H 107.8°. Best body text is #000000 at 13.64:1 contrast (WCAG AA passes).

Color values

HEX#D7D56F
RGBrgb(215, 213, 111)
HSLhsl(59, 57%, 64%)
HSVhsv(59, 48%, 84%)
CMYKcmyk(0%, 0.9%, 48.4%, 15.7%)
CIE-LABlab(83.54, -13.18, 50.22)
CIE-LCHlch(83.54, 51.92, 104.70°)
OKLaboklab(85.35% -0.0382 0.1191)
OKLCHoklch(85.35% 0.125 107.8)
XYZxyz(54.6891, 63.1846, 24.3508)
Luminance0.6318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D56F #6F71D7
analogous
#D7A16F #D7D56F #A5D76F
triadic
#D7D56F #6FD7D5 #D56FD7
tetradic
#D7D56F #6FD7A1 #6F71D7 #D76FA5
square
#D7D56F #6FD7A1 #6F71D7 #D76FA5
split-complementary
#D7D56F #6FA5D7 #A16FD7
monochromatic
#9F9D2C #CAC73F #D7D56F #E4E39F #F2F1CF

Accessibility & contrast

On white

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

On black

13.64
#D7D56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D56F
13.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D56F#FFFFFF#000000##000000
##D7D56F1.001.5413.6413.64
#FFFFFF1.541.0021.0021.00
#00000013.6421.001.001.00
##00000013.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d56f;
/* rgb */ color: rgb(215, 213, 111);
/* oklch */ color: oklch(85.4% 0.125 107.8);
Tailwind
colors: {
  custom: {
    50: '#e5e19b',
    500: '#d7d56f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d56f;
$custom-light: #e5e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d56f",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 58.846,
    "s": 56.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85352,
    "c": 0.12507,
    "h": 107.8
  },
  "luminance": 0.63183
}

Semantic roles & 50–950 ramp

primary
#D7D56F
secondary
#4749A3
accent
#25C421
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D56F

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

Preview Lab → · Contrast checker → · Palette generator →

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