#D7D975#D7D975

#D7D975 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.3% C 0.124 H 109.7°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D7D975
RGBrgb(215, 217, 117)
HSLhsl(61, 57%, 65%)
HSVhsv(61, 46%, 85%)
CMYKcmyk(0.9%, 0%, 46.1%, 14.9%)
CIE-LABlab(84.67, -14.63, 48.71)
CIE-LCHlch(84.67, 50.86, 106.71°)
OKLaboklab(86.27% -0.0417 0.1163)
OKLCHoklch(86.27% 0.124 109.7)
XYZxyz(56.0491, 65.3583, 26.4890)
Luminance0.6536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D975 #7775D9
analogous
#D9A975 #D7D975 #A5D975
triadic
#D7D975 #75D7D9 #D975D7
tetradic
#D7D975 #75D9A9 #7775D9 #D975A5
square
#D7D975 #75D9A9 #7775D9 #D975A5
split-complementary
#D7D975 #75A5D9 #A975D9
monochromatic
#A4A62E #C9CC45 #D7D975 #E5E6A5 #F3F3D5

Accessibility & contrast

On white

1.49
#D7D975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D7D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D975
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D975#FFFFFF#000000##000000
##D7D9751.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D26C
Deuteranopia (green-blind)
#E8D57A
Tritanopia (blue-blind)
#E3CEC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d975;
/* rgb */ color: rgb(215, 217, 117);
/* oklch */ color: oklch(86.3% 0.124 109.7);
Tailwind
colors: {
  custom: {
    50: '#e5e49f',
    500: '#d7d975',
    950: '#000000',
  },
}
SCSS
$custom: #d7d975;
$custom-light: #e5e49f;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d975",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 61.2,
    "s": 56.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.86273,
    "c": 0.12352,
    "h": 109.7
  },
  "luminance": 0.65357
}

Semantic roles & 50–950 ramp

primary
#D7D975
secondary
#4B49A9
accent
#21C424
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D7D975

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

Preview Lab → · Contrast checker → · Palette generator →

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