#D9D150#D9D150

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

Color values

HEX#D9D150
RGBrgb(217, 209, 80)
HSLhsl(56, 64%, 58%)
HSVhsv(56, 63%, 85%)
CMYKcmyk(0%, 3.7%, 63.1%, 14.9%)
CIE-LABlab(82.34, -12.70, 62.79)
CIE-LCHlch(82.34, 64.06, 101.43°)
OKLaboklab(84.34% -0.0402 0.1425)
OKLCHoklch(84.34% 0.148 105.8)
XYZxyz(52.8656, 60.9336, 16.5645)
Luminance0.6093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9D150 #5058D9
analogous
#D98C50 #D9D150 #9DD950
triadic
#D9D150 #50D9D1 #D150D9
tetradic
#D9D150 #50D98C #5058D9 #D9509D
square
#D9D150 #50D98C #5058D9 #D9509D
split-complementary
#D9D150 #509DD9 #8C50D9
monochromatic
#8F891F #C2B92A #D9D150 #E4DE82 #EFEBB5

Accessibility & contrast

On white

1.59
#D9D150 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.19
#D9D150 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9D150
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9D150#FFFFFF#000000##000000
##D9D1501.001.5913.1913.19
#FFFFFF1.591.0021.0021.00
#00000013.1921.001.001.00
##00000013.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9d150;
/* rgb */ color: rgb(217, 209, 80);
/* oklch */ color: oklch(84.3% 0.148 105.8);
Tailwind
colors: {
  custom: {
    50: '#e8de87',
    500: '#d9d150',
    950: '#000000',
  },
}
SCSS
$custom: #d9d150;
$custom-light: #e8de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9d150",
  "rgb": {
    "r": 217,
    "g": 209,
    "b": 80
  },
  "hsl": {
    "h": 56.496,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84341,
    "c": 0.14805,
    "h": 105.8
  },
  "luminance": 0.60932
}

Semantic roles & 50–950 ramp

primary
#D9D150
secondary
#383E95
accent
#4AE740
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D9D150

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

Preview Lab → · Contrast checker → · Palette generator →

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