#D7D15F#D7D15F

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

Color values

HEX#D7D15F
RGBrgb(215, 209, 95)
HSLhsl(57, 60%, 61%)
HSVhsv(57, 56%, 84%)
CMYKcmyk(0%, 2.8%, 55.8%, 15.7%)
CIE-LABlab(82.31, -12.49, 56.22)
CIE-LCHlch(82.31, 57.59, 102.53°)
OKLaboklab(84.32% -0.0379 0.1305)
OKLCHoklch(84.32% 0.136 106.2)
XYZxyz(52.8919, 60.8758, 19.7883)
Luminance0.6087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D15F #5F65D7
analogous
#D7955F #D7D15F #A1D75F
triadic
#D7D15F #5FD7D1 #D15FD7
tetradic
#D7D15F #5FD795 #5F65D7 #D75FA1
square
#D7D15F #5FD795 #5F65D7 #D75FA1
split-complementary
#D7D15F #5FA1D7 #955FD7
monochromatic
#969026 #C7C032 #D7D15F #E3DF90 #EFEDC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D15F#FFFFFF#000000##000000
##D7D15F1.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)
#E1CA53
Deuteranopia (green-blind)
#E4CF65
Tritanopia (blue-blind)
#E5C5B8
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d7d15f;
/* rgb */ color: rgb(215, 209, 95);
/* oklch */ color: oklch(84.3% 0.136 106.2);
Tailwind
colors: {
  custom: {
    50: '#e6de90',
    500: '#d7d15f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d15f;
$custom-light: #e6de90;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d15f",
  "rgb": {
    "r": 215,
    "g": 209,
    "b": 95
  },
  "hsl": {
    "h": 57,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.8432,
    "c": 0.1359,
    "h": 106.2
  },
  "luminance": 0.60874
}

Semantic roles & 50–950 ramp

primary
#D7D15F
secondary
#3F449B
accent
#26C81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D15F

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

Preview Lab → · Contrast checker → · Palette generator →

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