#D8D267#D8D267

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

Color values

HEX#D8D267
RGBrgb(216, 210, 103)
HSLhsl(57, 59%, 63%)
HSVhsv(57, 52%, 85%)
CMYKcmyk(0%, 2.8%, 52.3%, 15.3%)
CIE-LABlab(82.74, -11.96, 53.06)
CIE-LCHlch(82.74, 54.39, 102.70°)
OKLaboklab(84.71% -0.0356 0.1245)
OKLCHoklch(84.71% 0.13 105.9)
XYZxyz(53.8152, 61.6730, 21.8986)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D267 #676DD8
analogous
#D89967 #D8D267 #A6D867
triadic
#D8D267 #67D8D2 #D267D8
tetradic
#D8D267 #67D899 #676DD8 #D867A6
square
#D8D267 #67D899 #676DD8 #D867A6
split-complementary
#D8D267 #67A6D8 #9967D8
monochromatic
#9C9628 #CCC436 #D8D267 #E4E098 #F1EFC8

Accessibility & contrast

On white

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

On black

13.33
#D8D267 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D267
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D267#FFFFFF#000000##000000
##D8D2671.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8d267;
/* rgb */ color: rgb(216, 210, 103);
/* oklch */ color: oklch(84.7% 0.130 105.9);
Tailwind
colors: {
  custom: {
    50: '#e6df95',
    500: '#d8d267',
    950: '#000000',
  },
}
SCSS
$custom: #d8d267;
$custom-light: #e6df95;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d267",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 103
  },
  "hsl": {
    "h": 56.814,
    "s": 59.162,
    "l": 62.549
  },
  "oklch": {
    "l": 0.84706,
    "c": 0.12952,
    "h": 105.9
  },
  "luminance": 0.61671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D267

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

Preview Lab → · Contrast checker → · Palette generator →

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