#D7D855#D7D855

#D7D855 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.151 H 109.6°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D7D855
RGBrgb(215, 216, 85)
HSLhsl(60, 63%, 59%)
HSVhsv(60, 61%, 85%)
CMYKcmyk(0.5%, 0%, 60.6%, 15.3%)
CIE-LABlab(84.08, -16.69, 62.52)
CIE-LCHlch(84.08, 64.71, 104.95°)
OKLaboklab(85.7% -0.0509 0.1427)
OKLCHoklch(85.7% 0.151 109.6)
XYZxyz(54.2215, 64.2161, 18.1313)
Luminance0.6421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D855 #5655D8
analogous
#D89855 #D7D855 #96D855
triadic
#D7D855 #55D7D8 #D855D7
tetradic
#D7D855 #55D898 #5655D8 #D85596
square
#D7D855 #55D898 #5655D8 #D85596
split-complementary
#D7D855 #5596D8 #9855D8
monochromatic
#909121 #C2C32D #D7D855 #E3E387 #EEEFB9

Accessibility & contrast

On white

1.52
#D7D855 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D7D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D855
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D855#FFFFFF#000000##000000
##D7D8551.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF45
Deuteranopia (green-blind)
#EAD45D
Tritanopia (blue-blind)
#E5CBBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d855;
/* rgb */ color: rgb(215, 216, 85);
/* oklch */ color: oklch(85.7% 0.151 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e38a',
    500: '#d7d855',
    950: '#000000',
  },
}
SCSS
$custom: #d7d855;
$custom-light: #e6e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d855",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 60.458,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.85698,
    "c": 0.15146,
    "h": 109.6
  },
  "luminance": 0.64215
}

Semantic roles & 50–950 ramp

primary
#D7D855
secondary
#3B3B96
accent
#42E643
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D855

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

Preview Lab → · Contrast checker → · Palette generator →

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