#D7D55C#D7D55C

#D7D55C is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.1% C 0.143 H 108.2°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#D7D55C
RGBrgb(215, 213, 92)
HSLhsl(59, 61%, 60%)
HSVhsv(59, 57%, 84%)
CMYKcmyk(0%, 0.9%, 57.2%, 15.7%)
CIE-LABlab(83.34, -14.72, 58.71)
CIE-LCHlch(83.34, 60.53, 104.07°)
OKLaboklab(85.13% -0.0445 0.1355)
OKLCHoklch(85.13% 0.143 108.2)
XYZxyz(53.7519, 62.8098, 19.4152)
Luminance0.6281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D55C #5C5ED7
analogous
#D7975C #D7D55C #9CD75C
triadic
#D7D55C #5CD7D5 #D55CD7
tetradic
#D7D55C #5CD797 #5C5ED7 #D75C9C
square
#D7D55C #5CD797 #5C5ED7 #D75C9C
split-complementary
#D7D55C #5C9CD7 #975CD7
monochromatic
#949224 #C5C330 #D7D55C #E3E28D #EFEEBE

Accessibility & contrast

On white

1.55
#D7D55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#D7D55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D55C
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D55C#FFFFFF#000000##000000
##D7D55C1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CD4F
Deuteranopia (green-blind)
#E7D263
Tritanopia (blue-blind)
#E5C9BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d7d55c;
/* rgb */ color: rgb(215, 213, 92);
/* oklch */ color: oklch(85.1% 0.143 108.2);
Tailwind
colors: {
  custom: {
    50: '#e6e18e',
    500: '#d7d55c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d55c;
$custom-light: #e6e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d55c",
  "rgb": {
    "r": 215,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 59.024,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85131,
    "c": 0.14261,
    "h": 108.2
  },
  "luminance": 0.62808
}

Semantic roles & 50–950 ramp

primary
#D7D55C
secondary
#3E3F99
accent
#20C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D55C

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

Preview Lab → · Contrast checker → · Palette generator →

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