#D8D150#D8D150

#D8D150 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.3% C 0.148 H 106.2°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#D8D150
RGBrgb(216, 209, 80)
HSLhsl(57, 64%, 58%)
HSVhsv(57, 63%, 85%)
CMYKcmyk(0%, 3.2%, 63%, 15.3%)
CIE-LABlab(82.26, -13.11, 62.68)
CIE-LCHlch(82.26, 64.04, 101.82°)
OKLaboklab(84.26% -0.0413 0.1423)
OKLCHoklch(84.26% 0.148 106.2)
XYZxyz(52.5692, 60.7808, 16.5506)
Luminance0.6078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D150 #5057D8
analogous
#D88D50 #D8D150 #9BD850
triadic
#D8D150 #50D8D1 #D150D8
tetradic
#D8D150 #50D88D #5057D8 #D8509B
square
#D8D150 #50D88D #5057D8 #D8509B
split-complementary
#D8D150 #509BD8 #8D50D8
monochromatic
#8E8820 #C0B82B #D8D150 #E3DE82 #EEEBB4

Accessibility & contrast

On white

1.60
#D8D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#D8D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D150
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D150#FFFFFF#000000##000000
##D8D1501.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA40
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#E7C4B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d8d150;
/* rgb */ color: rgb(216, 209, 80);
/* oklch */ color: oklch(84.3% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e7de87',
    500: '#d8d150',
    950: '#000000',
  },
}
SCSS
$custom: #d8d150;
$custom-light: #e7de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d150",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 56.912,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84256,
    "c": 0.14815,
    "h": 106.2
  },
  "luminance": 0.60779
}

Semantic roles & 50–950 ramp

primary
#D8D150
secondary
#393D94
accent
#4AE741
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8D150

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

Preview Lab → · Contrast checker → · Palette generator →

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