#D8D268#D8D268

#D8D268 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.7% C 0.129 H 105.9°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D8D268
RGBrgb(216, 210, 104)
HSLhsl(57, 59%, 63%)
HSVhsv(57, 52%, 85%)
CMYKcmyk(0%, 2.8%, 51.9%, 15.3%)
CIE-LABlab(82.75, -11.87, 52.61)
CIE-LCHlch(82.75, 53.93, 102.72°)
OKLaboklab(84.72% -0.0352 0.1237)
OKLCHoklch(84.72% 0.129 105.9)
XYZxyz(53.8657, 61.6932, 22.1645)
Luminance0.6169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D268 #686ED8
analogous
#D89A68 #D8D268 #A6D868
triadic
#D8D268 #68D8D2 #D268D8
tetradic
#D8D268 #68D89A #686ED8 #D868A6
square
#D8D268 #68D89A #686ED8 #D868A6
split-complementary
#D8D268 #68A6D8 #9A68D8
monochromatic
#9D9729 #CBC437 #D8D268 #E5E099 #F1EFC9

Accessibility & contrast

On white

1.57
#D8D268 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D8D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D268
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D268#FFFFFF#000000##000000
##D8D2681.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5E
Deuteranopia (green-blind)
#E4D06D
Tritanopia (blue-blind)
#E6C6BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d268;
/* rgb */ color: rgb(216, 210, 104);
/* oklch */ color: oklch(84.7% 0.129 105.9);
Tailwind
colors: {
  custom: {
    50: '#e6df96',
    500: '#d8d268',
    950: '#000000',
  },
}
SCSS
$custom: #d8d268;
$custom-light: #e6df96;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d268",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 56.786,
    "s": 58.947,
    "l": 62.745
  },
  "oklch": {
    "l": 0.84718,
    "c": 0.12858,
    "h": 105.9
  },
  "luminance": 0.61692
}

Semantic roles & 50–950 ramp

primary
#D8D268
secondary
#4348A1
accent
#28C71F
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8D268

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

Preview Lab → · Contrast checker → · Palette generator →

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