#D8D259#D8D259

#D8D259 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.6% C 0.142 H 106.4°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D8D259
RGBrgb(216, 210, 89)
HSLhsl(57, 62%, 60%)
HSVhsv(57, 59%, 85%)
CMYKcmyk(0%, 2.8%, 58.8%, 15.3%)
CIE-LABlab(82.60, -13.02, 59.22)
CIE-LCHlch(82.60, 60.64, 102.40°)
OKLaboklab(84.55% -0.0401 0.1362)
OKLCHoklch(84.55% 0.142 106.4)
XYZxyz(53.1704, 61.4151, 18.5027)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D259 #595FD8
analogous
#D89259 #D8D259 #9FD859
triadic
#D8D259 #59D8D2 #D259D8
tetradic
#D8D259 #59D892 #595FD8 #D8599F
square
#D8D259 #59D892 #595FD8 #D8599F
split-complementary
#D8D259 #599FD8 #9259D8
monochromatic
#948F23 #C5BE2E #D8D259 #E4DF8B #EFEDBC

Accessibility & contrast

On white

1.58
#D8D259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D8D259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D259
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D259#FFFFFF#000000##000000
##D8D2591.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB4C
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#E6C5B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d259;
/* rgb */ color: rgb(216, 210, 89);
/* oklch */ color: oklch(84.6% 0.142 106.4);
Tailwind
colors: {
  custom: {
    50: '#e7df8c',
    500: '#d8d259',
    950: '#000000',
  },
}
SCSS
$custom: #d8d259;
$custom-light: #e7df8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d259",
  "rgb": {
    "r": 216,
    "g": 210,
    "b": 89
  },
  "hsl": {
    "h": 57.165,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84552,
    "c": 0.14196,
    "h": 106.4
  },
  "luminance": 0.61413
}

Semantic roles & 50–950 ramp

primary
#D8D259
secondary
#3C4199
accent
#4AE543
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D259

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

Preview Lab → · Contrast checker → · Palette generator →

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