#D0D751#D0D751

#D0D751 is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.155 H 112.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D0D751
RGBrgb(208, 215, 81)
HSLhsl(63, 63%, 58%)
HSVhsv(63, 62%, 84%)
CMYKcmyk(3.3%, 0%, 62.3%, 15.7%)
CIE-LABlab(83.23, -19.32, 63.11)
CIE-LCHlch(83.23, 66.00, 107.02°)
OKLaboklab(84.88% -0.0583 0.1435)
OKLCHoklch(84.88% 0.155 112.1)
XYZxyz(51.7995, 62.6060, 17.1385)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D751 #5851D7
analogous
#D79B51 #D0D751 #8DD751
triadic
#D0D751 #51D0D7 #D751D0
tetradic
#D0D751 #51D79B #5851D7 #D7518D
square
#D0D751 #51D79B #5851D7 #D7518D
split-complementary
#D0D751 #518DD7 #9B51D7
monochromatic
#878D20 #B7BF2C #D0D751 #DDE283 #EBEEB5

Accessibility & contrast

On white

1.55
#D0D751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D0D751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D751
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D751#FFFFFF#000000##000000
##D0D7511.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE40
Deuteranopia (green-blind)
#E7D15A
Tritanopia (blue-blind)
#DDCBBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d0d751;
/* rgb */ color: rgb(208, 215, 81);
/* oklch */ color: oklch(84.9% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e388',
    500: '#d0d751',
    950: '#000000',
  },
}
SCSS
$custom: #d0d751;
$custom-light: #e1e388;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d751",
  "rgb": {
    "r": 208,
    "g": 215,
    "b": 81
  },
  "hsl": {
    "h": 63.134,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84881,
    "c": 0.15491,
    "h": 112.1
  },
  "luminance": 0.62605
}

Semantic roles & 50–950 ramp

primary
#D0D751
secondary
#3E3993
accent
#42E64B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D751

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

Preview Lab → · Contrast checker → · Palette generator →

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