#D7D95D#D7D95D

#D7D95D is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.0% C 0.146 H 110.0°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#D7D95D
RGBrgb(215, 217, 93)
HSLhsl(61, 62%, 61%)
HSVhsv(61, 57%, 85%)
CMYKcmyk(0.9%, 0%, 57.1%, 14.9%)
CIE-LABlab(84.41, -16.63, 59.46)
CIE-LCHlch(84.41, 61.75, 105.63°)
OKLaboklab(85.99% -0.0499 0.1372)
OKLCHoklch(85.99% 0.146 110)
XYZxyz(54.8145, 64.8645, 19.9864)
Luminance0.6486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D95D #5F5DD9
analogous
#D99D5D #D7D95D #99D95D
triadic
#D7D95D #5DD7D9 #D95DD7
tetradic
#D7D95D #5DD99D #5F5DD9 #D95D99
square
#D7D95D #5DD99D #5F5DD9 #D95D99
split-complementary
#D7D95D #5D99D9 #9D5DD9
monochromatic
#969824 #C7CA2F #D7D95D #E3E58F #EFF0C0

Accessibility & contrast

On white

1.50
#D7D95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#D7D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D95D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D95D#FFFFFF#000000##000000
##D7D95D1.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D14F
Deuteranopia (green-blind)
#EAD564
Tritanopia (blue-blind)
#E5CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d95d;
/* rgb */ color: rgb(215, 217, 93);
/* oklch */ color: oklch(86.0% 0.146 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e48f',
    500: '#d7d95d',
    950: '#000000',
  },
}
SCSS
$custom: #d7d95d;
$custom-light: #e6e48f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d95d",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 60.968,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.85988,
    "c": 0.14599,
    "h": 110
  },
  "luminance": 0.64863
}

Semantic roles & 50–950 ramp

primary
#D7D95D
secondary
#3F3E9C
accent
#1CCA1F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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