#D7D95F#D7D95F

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

Color values

HEX#D7D95F
RGBrgb(215, 217, 95)
HSLhsl(61, 62%, 61%)
HSVhsv(61, 56%, 85%)
CMYKcmyk(0.9%, 0%, 56.2%, 14.9%)
CIE-LABlab(84.43, -16.48, 58.61)
CIE-LCHlch(84.43, 60.88, 105.71°)
OKLaboklab(86.01% -0.0492 0.1356)
OKLCHoklch(86.01% 0.144 110)
XYZxyz(54.9042, 64.9004, 20.4591)
Luminance0.6490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D95F #615FD9
analogous
#D99E5F #D7D95F #9AD95F
triadic
#D7D95F #5FD7D9 #D95FD7
tetradic
#D7D95F #5FD99E #615FD9 #D95F9A
square
#D7D95F #5FD99E #615FD9 #D95F9A
split-complementary
#D7D95F #5F9AD9 #9E5FD9
monochromatic
#979924 #C8CB30 #D7D95F #E3E590 #F0F0C2

Accessibility & contrast

On white

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

On black

13.98
#D7D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D95F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D95F#FFFFFF#000000##000000
##D7D95F1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D152
Deuteranopia (green-blind)
#EAD566
Tritanopia (blue-blind)
#E4CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d95f;
/* rgb */ color: rgb(215, 217, 95);
/* oklch */ color: oklch(86.0% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e491',
    500: '#d7d95f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d95f;
$custom-light: #e6e491;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d95f",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 60.984,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86009,
    "c": 0.14428,
    "h": 110
  },
  "luminance": 0.64899
}

Semantic roles & 50–950 ramp

primary
#D7D95F
secondary
#403F9E
accent
#1CC91F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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