#D7D968#D7D968

#D7D968 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.1% C 0.136 H 109.9°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#D7D968
RGBrgb(215, 217, 104)
HSLhsl(61, 60%, 63%)
HSVhsv(61, 52%, 85%)
CMYKcmyk(0.9%, 0%, 52.1%, 14.9%)
CIE-LABlab(84.52, -15.78, 54.65)
CIE-LCHlch(84.52, 56.88, 106.10°)
OKLaboklab(86.11% -0.0463 0.1281)
OKLCHoklch(86.11% 0.136 109.9)
XYZxyz(55.3372, 65.0735, 22.7394)
Luminance0.6507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7D968 #6A68D9
analogous
#D9A268 #D7D968 #9ED968
triadic
#D7D968 #68D7D9 #D968D7
tetradic
#D7D968 #68D9A2 #6A68D9 #D9689E
square
#D7D968 #68D9A2 #6A68D9 #D9689E
split-complementary
#D7D968 #689ED9 #A268D9
monochromatic
#9D9F28 #CACD37 #D7D968 #E4E599 #F1F2CA

Accessibility & contrast

On white

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

On black

14.01
#D7D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7D968
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7D968#FFFFFF#000000##000000
##D7D9681.001.5014.0114.01
#FFFFFF1.501.0021.0021.00
#00000014.0121.001.001.00
##00000014.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#E9D56E
Tritanopia (blue-blind)
#E4CDC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d7d968;
/* rgb */ color: rgb(215, 217, 104);
/* oklch */ color: oklch(86.1% 0.136 109.9);
Tailwind
colors: {
  custom: {
    50: '#e5e496',
    500: '#d7d968',
    950: '#000000',
  },
}
SCSS
$custom: #d7d968;
$custom-light: #e5e496;
$custom-dark: #000000;
JSON
{
  "hex": "#d7d968",
  "rgb": {
    "r": 215,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 61.062,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.86109,
    "c": 0.13621,
    "h": 109.9
  },
  "luminance": 0.65072
}

Semantic roles & 50–950 ramp

primary
#D7D968
secondary
#4443A3
accent
#1EC721
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D7D968

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

Preview Lab → · Contrast checker → · Palette generator →

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