#D7D15D#D7D15D

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

Color values

HEX#D7D15D
RGBrgb(215, 209, 93)
HSLhsl(57, 60%, 60%)
HSVhsv(57, 57%, 84%)
CMYKcmyk(0%, 2.8%, 56.7%, 15.7%)
CIE-LABlab(82.29, -12.64, 57.09)
CIE-LCHlch(82.29, 58.48, 102.49°)
OKLaboklab(84.3% -0.0385 0.1322)
OKLCHoklch(84.3% 0.138 106.3)
XYZxyz(52.8022, 60.8399, 19.3157)
Luminance0.6084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D15D #5D63D7
analogous
#D7945D #D7D15D #A0D75D
triadic
#D7D15D #5DD7D1 #D15DD7
tetradic
#D7D15D #5DD794 #5D63D7 #D75DA0
square
#D7D15D #5DD794 #5D63D7 #D75DA0
split-complementary
#D7D15D #5DA0D7 #945DD7
monochromatic
#958F25 #C6BF31 #D7D15D #E3DF8E #EFEDBF

Accessibility & contrast

On white

1.59
#D7D15D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#D7D15D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D15D
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D15D#FFFFFF#000000##000000
##D7D15D1.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d7d15d;
/* rgb */ color: rgb(215, 209, 93);
/* oklch */ color: oklch(84.3% 0.138 106.3);
Tailwind
colors: {
  custom: {
    50: '#e6de8f',
    500: '#d7d15d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d15d;
$custom-light: #e6de8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d15d",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 93
  },
  "hsl": {
    "h": 57.049,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84298,
    "c": 0.13765,
    "h": 106.3
  },
  "luminance": 0.60838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D7D15D

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

Preview Lab → · Contrast checker → · Palette generator →

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