#D0D951#D0D951

#D0D951 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.157 H 112.9°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D0D951
RGBrgb(208, 217, 81)
HSLhsl(64, 64%, 58%)
HSVhsv(64, 63%, 85%)
CMYKcmyk(4.1%, 0%, 62.7%, 14.9%)
CIE-LABlab(83.77, -20.30, 63.68)
CIE-LCHlch(83.77, 66.84, 107.68°)
OKLaboklab(85.31% -0.061 0.1447)
OKLCHoklch(85.31% 0.157 112.9)
XYZxyz(52.3119, 63.6308, 17.3093)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D951 #5A51D9
analogous
#D99E51 #D0D951 #8CD951
triadic
#D0D951 #51D0D9 #D951D0
tetradic
#D0D951 #51D99E #5A51D9 #D9518C
square
#D0D951 #51D99E #5A51D9 #D9518C
split-complementary
#D0D951 #518CD9 #9E51D9
monochromatic
#89901F #B8C22A #D0D951 #DEE483 #EBEFB5

Accessibility & contrast

On white

1.53
#D0D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D0D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D951
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D951#FFFFFF#000000##000000
##D0D9511.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF40
Deuteranopia (green-blind)
#E8D25A
Tritanopia (blue-blind)
#DDCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d0d951;
/* rgb */ color: rgb(208, 217, 81);
/* oklch */ color: oklch(85.3% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e488',
    500: '#d0d951',
    950: '#000000',
  },
}
SCSS
$custom: #d0d951;
$custom-light: #e1e488;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d951",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 63.971,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85311,
    "c": 0.15708,
    "h": 112.9
  },
  "luminance": 0.6363
}

Semantic roles & 50–950 ramp

primary
#D0D951
secondary
#3F3995
accent
#41E74C
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D951

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

Preview Lab → · Contrast checker → · Palette generator →

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