#D8D84B#D8D84B

#D8D84B is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.7% C 0.159 H 109.3°. Best body text is #000000 at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#D8D84B
RGBrgb(216, 216, 75)
HSLhsl(60, 64%, 57%)
HSVhsv(60, 65%, 85%)
CMYKcmyk(0%, 0%, 65.3%, 15.3%)
CIE-LABlab(84.08, -16.89, 66.58)
CIE-LCHlch(84.08, 68.69, 104.24°)
OKLaboklab(85.7% -0.0525 0.1498)
OKLCHoklch(85.7% 0.159 109.3)
XYZxyz(54.1466, 64.2202, 16.1987)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D84B #4B4BD8
analogous
#D8924B #D8D84B #92D84B
triadic
#D8D84B #4BD8D8 #D84BD8
tetradic
#D8D84B #4BD892 #4B4BD8 #D84B92
square
#D8D84B #4BD892 #4B4BD8 #D84B92
split-complementary
#D8D84B #4B92D8 #924BD8
monochromatic
#8B8B1E #BDBD29 #D8D84B #E3E37D #EEEEB0

Accessibility & contrast

On white

1.52
#D8D84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.84
#D8D84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D84B
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D84B#FFFFFF#000000##000000
##D8D84B1.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF37
Deuteranopia (green-blind)
#EBD454
Tritanopia (blue-blind)
#E7CBBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d8d84b;
/* rgb */ color: rgb(216, 216, 75);
/* oklch */ color: oklch(85.7% 0.159 109.3);
Tailwind
colors: {
  custom: {
    50: '#e7e385',
    500: '#d8d84b',
    950: '#000000',
  },
}
SCSS
$custom: #d8d84b;
$custom-light: #e7e385;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d84b",
  "rgb": {
    "r": 216,
    "g": 216,
    "b": 75
  },
  "hsl": {
    "h": 60,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85695,
    "c": 0.15869,
    "h": 109.3
  },
  "luminance": 0.64219
}

Semantic roles & 50–950 ramp

primary
#D8D84B
secondary
#373790
accent
#40E740
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D8D84B

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

Preview Lab → · Contrast checker → · Palette generator →

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