#D7D96F#D7D96F

#D7D96F is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.2% C 0.130 H 109.8°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#D7D96F
RGBrgb(215, 217, 111)
HSLhsl(61, 58%, 64%)
HSVhsv(61, 49%, 85%)
CMYKcmyk(0.9%, 0%, 48.8%, 14.9%)
CIE-LABlab(84.60, -15.18, 51.48)
CIE-LCHlch(84.60, 53.67, 106.42°)
OKLaboklab(86.2% -0.0439 0.1219)
OKLCHoklch(86.2% 0.13 109.8)
XYZxyz(55.7076, 65.2217, 24.6903)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D96F #716FD9
analogous
#D9A66F #D7D96F #A2D96F
triadic
#D7D96F #6FD7D9 #D96FD7
tetradic
#D7D96F #6FD9A6 #716FD9 #D96FA2
square
#D7D96F #6FD9A6 #716FD9 #D96FA2
split-complementary
#D7D96F #6FA2D9 #A66FD9
monochromatic
#A0A32B #CACC3F #D7D96F #E4E69F #F2F3D0

Accessibility & contrast

On white

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

On black

14.04
#D7D96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D96F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D96F#FFFFFF#000000##000000
##D7D96F1.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D165
Deuteranopia (green-blind)
#E8D574
Tritanopia (blue-blind)
#E3CEC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d96f;
/* rgb */ color: rgb(215, 217, 111);
/* oklch */ color: oklch(86.2% 0.130 109.8);
Tailwind
colors: {
  custom: {
    50: '#e5e49b',
    500: '#d7d96f',
    950: '#000000',
  },
}
SCSS
$custom: #d7d96f;
$custom-light: #e5e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d96f",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 61.132,
    "s": 58.242,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86195,
    "c": 0.12953,
    "h": 109.8
  },
  "luminance": 0.6522
}

Semantic roles & 50–950 ramp

primary
#D7D96F
secondary
#4846A6
accent
#20C623
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D96F

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

Preview Lab → · Contrast checker → · Palette generator →

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