#D7D15C#D7D15C

#D7D15C is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.139 H 106.3°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D7D15C
RGBrgb(215, 209, 92)
HSLhsl(57, 61%, 60%)
HSVhsv(57, 57%, 84%)
CMYKcmyk(0%, 2.8%, 57.2%, 15.7%)
CIE-LABlab(82.28, -12.72, 57.53)
CIE-LCHlch(82.28, 58.92, 102.47°)
OKLaboklab(84.29% -0.0388 0.133)
OKLCHoklch(84.29% 0.139 106.3)
XYZxyz(52.7582, 60.8223, 19.0839)
Luminance0.6082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D15C #5C62D7
analogous
#D7935C #D7D15C #A0D75C
triadic
#D7D15C #5CD7D1 #D15CD7
tetradic
#D7D15C #5CD793 #5C62D7 #D75CA0
square
#D7D15C #5CD793 #5C62D7 #D75CA0
split-complementary
#D7D15C #5CA0D7 #935CD7
monochromatic
#948F24 #C5BE30 #D7D15C #E3DF8D #EFEDBE

Accessibility & contrast

On white

1.60
#D7D15C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D7D15C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D15C
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D15C#FFFFFF#000000##000000
##D7D15C1.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CA50
Deuteranopia (green-blind)
#E4CF62
Tritanopia (blue-blind)
#E5C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d15c;
/* rgb */ color: rgb(215, 209, 92);
/* oklch */ color: oklch(84.3% 0.139 106.3);
Tailwind
colors: {
  custom: {
    50: '#e6de8e',
    500: '#d7d15c',
    950: '#000000',
  },
}
SCSS
$custom: #d7d15c;
$custom-light: #e6de8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d15c",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 92
  },
  "hsl": {
    "h": 57.073,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.84287,
    "c": 0.13852,
    "h": 106.3
  },
  "luminance": 0.60821
}

Semantic roles & 50–950 ramp

primary
#D7D15C
secondary
#3E4299
accent
#26C81D
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D15C

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

Preview Lab → · Contrast checker → · Palette generator →

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