#D7D95E#D7D95E

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

Color values

HEX#D7D95E
RGBrgb(215, 217, 94)
HSLhsl(61, 62%, 61%)
HSVhsv(61, 57%, 85%)
CMYKcmyk(0.9%, 0%, 56.7%, 14.9%)
CIE-LABlab(84.42, -16.56, 59.04)
CIE-LCHlch(84.42, 61.31, 105.67°)
OKLaboklab(86% -0.0495 0.1364)
OKLCHoklch(86% 0.145 110)
XYZxyz(54.8590, 64.8823, 20.2212)
Luminance0.6488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D95E #605ED9
analogous
#D99D5E #D7D95E #99D95E
triadic
#D7D95E #5ED7D9 #D95ED7
tetradic
#D7D95E #5ED99D #605ED9 #D95E99
square
#D7D95E #5ED99D #605ED9 #D95E99
split-complementary
#D7D95E #5E99D9 #9D5ED9
monochromatic
#979924 #C8CA30 #D7D95E #E3E590 #F0F0C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D7D95E#FFFFFF#000000##000000
##D7D95E1.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)
#E9D151
Deuteranopia (green-blind)
#EAD565
Tritanopia (blue-blind)
#E5CDBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d95e;
/* rgb */ color: rgb(215, 217, 94);
/* oklch */ color: oklch(86.0% 0.145 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e490',
    500: '#d7d95e',
    950: '#000000',
  },
}
SCSS
$custom: #d7d95e;
$custom-light: #e6e490;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d95e",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 94
  },
  "hsl": {
    "h": 60.976,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.85999,
    "c": 0.14514,
    "h": 110
  },
  "luminance": 0.64881
}

Semantic roles & 50–950 ramp

primary
#D7D95E
secondary
#403E9D
accent
#1CCA1F
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D7D95E

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

Preview Lab → · Contrast checker → · Palette generator →

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