#D0D151#D0D151

#D0D151 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.149 H 109.6°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#D0D151
RGBrgb(208, 209, 81)
HSLhsl(60, 58%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0.5%, 0%, 61.2%, 18%)
CIE-LABlab(81.62, -16.36, 61.39)
CIE-LCHlch(81.62, 63.53, 104.92°)
OKLaboklab(83.59% -0.0499 0.1399)
OKLCHoklch(83.59% 0.149 109.6)
XYZxyz(50.2996, 59.6063, 16.6385)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D151 #5251D1
analogous
#D19251 #D0D151 #90D151
triadic
#D0D151 #51D0D1 #D151D0
tetradic
#D0D151 #51D192 #5251D1 #D15190
square
#D0D151 #51D192 #5251D1 #D15190
split-complementary
#D0D151 #5190D1 #9251D1
monochromatic
#848523 #B4B530 #D0D151 #DDDE81 #EAEBB2

Accessibility & contrast

On white

1.63
#D0D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#D0D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D151
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D151#FFFFFF#000000##000000
##D0D1511.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C941
Deuteranopia (green-blind)
#E2CD59
Tritanopia (blue-blind)
#DEC5B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d0d151;
/* rgb */ color: rgb(208, 209, 81);
/* oklch */ color: oklch(83.6% 0.149 109.6);
Tailwind
colors: {
  custom: {
    50: '#e1de87',
    500: '#d0d151',
    950: '#000000',
  },
}
SCSS
$custom: #d0d151;
$custom-light: #e1de87;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d151",
  "rgb": {
    "r": 208,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 60.469,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83594,
    "c": 0.14854,
    "h": 109.6
  },
  "luminance": 0.59605
}

Semantic roles & 50–950 ramp

primary
#D0D151
secondary
#3B3B8B
accent
#46E148
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D151

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

Preview Lab → · Contrast checker → · Palette generator →

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