#D5D968#D5D968

#D5D968 is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 85.9% C 0.137 H 110.8°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#D5D968
RGBrgb(213, 217, 104)
HSLhsl(62, 60%, 63%)
HSVhsv(62, 52%, 85%)
CMYKcmyk(1.8%, 0%, 52.1%, 14.9%)
CIE-LABlab(84.37, -16.58, 54.43)
CIE-LCHlch(84.37, 56.90, 106.94°)
OKLaboklab(85.95% -0.0485 0.1277)
OKLCHoklch(85.95% 0.137 110.8)
XYZxyz(54.7533, 64.7725, 22.7121)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5D968 #6C68D9
analogous
#D9A468 #D5D968 #9CD968
triadic
#D5D968 #68D5D9 #D968D5
tetradic
#D5D968 #68D9A4 #6C68D9 #D9689C
square
#D5D968 #68D9A4 #6C68D9 #D9689C
split-complementary
#D5D968 #689CD9 #A468D9
monochromatic
#9A9F28 #C7CD37 #D5D968 #E3E599 #F0F2CA

Accessibility & contrast

On white

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

On black

13.95
#D5D968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5D968
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5D968#FFFFFF#000000##000000
##D5D9681.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D15D
Deuteranopia (green-blind)
#E8D46E
Tritanopia (blue-blind)
#E2CEC0
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d5d968;
/* rgb */ color: rgb(213, 217, 104);
/* oklch */ color: oklch(85.9% 0.137 110.8);
Tailwind
colors: {
  custom: {
    50: '#e4e496',
    500: '#d5d968',
    950: '#000000',
  },
}
SCSS
$custom: #d5d968;
$custom-light: #e4e496;
$custom-dark: #000000;
JSON
{
  "hex": "#d5d968",
  "rgb": {
    "r": 213,
    "g": 217,
    "b": 104
  },
  "hsl": {
    "h": 62.124,
    "s": 59.788,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85947,
    "c": 0.13655,
    "h": 110.8
  },
  "luminance": 0.64771
}

Semantic roles & 50–950 ramp

primary
#D5D968
secondary
#4643A3
accent
#1EC724
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5D968

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

Preview Lab → · Contrast checker → · Palette generator →

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