#D7D858#D7D858

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

Color values

HEX#D7D858
RGBrgb(215, 216, 88)
HSLhsl(60, 62%, 60%)
HSVhsv(60, 59%, 85%)
CMYKcmyk(0.5%, 0%, 59.3%, 15.3%)
CIE-LABlab(84.10, -16.49, 61.28)
CIE-LCHlch(84.10, 63.46, 105.06°)
OKLaboklab(85.73% -0.05 0.1404)
OKLCHoklch(85.73% 0.149 109.6)
XYZxyz(54.3432, 64.2648, 18.7723)
Luminance0.6426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D858 #5958D8
analogous
#D89958 #D7D858 #97D858
triadic
#D7D858 #58D7D8 #D858D7
tetradic
#D7D858 #58D899 #5958D8 #D85897
square
#D7D858 #58D899 #5958D8 #D85897
split-complementary
#D7D858 #5897D8 #9958D8
monochromatic
#929322 #C4C52E #D7D858 #E3E48A #EFEFBB

Accessibility & contrast

On white

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

On black

13.85
#D7D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D858
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D858#FFFFFF#000000##000000
##D7D8581.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D049
Deuteranopia (green-blind)
#E9D460
Tritanopia (blue-blind)
#E5CBBD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d7d858;
/* rgb */ color: rgb(215, 216, 88);
/* oklch */ color: oklch(85.7% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#e6e38c',
    500: '#d7d858',
    950: '#000000',
  },
}
SCSS
$custom: #d7d858;
$custom-light: #e6e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d858",
  "rgb": {
    "r": 215,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 60.469,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85727,
    "c": 0.14907,
    "h": 109.6
  },
  "luminance": 0.64263
}

Semantic roles & 50–950 ramp

primary
#D7D858
secondary
#3D3C98
accent
#43E544
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D858

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

Preview Lab → · Contrast checker → · Palette generator →

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