#D7D758#D7D758

#D7D758 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.148 H 109.2°. Best body text is #000000 at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#D7D758
RGBrgb(215, 215, 88)
HSLhsl(60, 61%, 59%)
HSVhsv(60, 59%, 84%)
CMYKcmyk(0%, 0%, 59.1%, 15.7%)
CIE-LABlab(83.84, -15.99, 60.99)
CIE-LCHlch(83.84, 63.05, 104.69°)
OKLaboklab(85.51% -0.0486 0.1398)
OKLCHoklch(85.51% 0.148 109.2)
XYZxyz(54.0878, 63.7540, 18.6872)
Luminance0.6375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D758 #5858D7
analogous
#D79858 #D7D758 #98D758
triadic
#D7D758 #58D7D7 #D758D7
tetradic
#D7D758 #58D798 #5858D7 #D75898
square
#D7D758 #58D798 #5858D7 #D75898
split-complementary
#D7D758 #5898D7 #9858D7
monochromatic
#929223 #C3C32F #D7D758 #E3E389 #EFEFBB

Accessibility & contrast

On white

1.53
#D7D758 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.75
#D7D758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D758
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D758#FFFFFF#000000##000000
##D7D7581.001.5313.7513.75
#FFFFFF1.531.0021.0021.00
#00000013.7521.001.001.00
##00000013.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CF49
Deuteranopia (green-blind)
#E9D35F
Tritanopia (blue-blind)
#E5CABC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d7d758;
/* rgb */ color: rgb(215, 215, 88);
/* oklch */ color: oklch(85.5% 0.148 109.2);
Tailwind
colors: {
  custom: {
    50: '#e6e38c',
    500: '#d7d758',
    950: '#000000',
  },
}
SCSS
$custom: #d7d758;
$custom-light: #e6e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d758",
  "rgb": {
    "r": 215,
    "g": 215,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 61.353,
    "l": 59.412
  },
  "oklch": {
    "l": 0.85514,
    "c": 0.14802,
    "h": 109.2
  },
  "luminance": 0.63753
}

Semantic roles & 50–950 ramp

primary
#D7D758
secondary
#3C3C97
accent
#43E443
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D7D758

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

Preview Lab → · Contrast checker → · Palette generator →

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