#D0D952#D0D952

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

Color values

HEX#D0D952
RGBrgb(208, 217, 82)
HSLhsl(64, 64%, 59%)
HSVhsv(64, 62%, 85%)
CMYKcmyk(4.1%, 0%, 62.2%, 14.9%)
CIE-LABlab(83.78, -20.24, 63.28)
CIE-LCHlch(83.78, 66.44, 107.73°)
OKLaboklab(85.32% -0.0608 0.144)
OKLCHoklch(85.32% 0.156 112.9)
XYZxyz(52.3496, 63.6459, 17.5082)
Luminance0.6364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D952 #5B52D9
analogous
#D99E52 #D0D952 #8CD952
triadic
#D0D952 #52D0D9 #D952D0
tetradic
#D0D952 #52D99E #5B52D9 #D9528C
square
#D0D952 #52D99E #5B52D9 #D9528C
split-complementary
#D0D952 #528CD9 #9E52D9
monochromatic
#899120 #B9C32B #D0D952 #DEE484 #EBEFB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0D952#FFFFFF#000000##000000
##D0D9521.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)
#E8CF41
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#DDCDBD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d0d952;
/* rgb */ color: rgb(208, 217, 82);
/* oklch */ color: oklch(85.3% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#e1e489',
    500: '#d0d952',
    950: '#000000',
  },
}
SCSS
$custom: #d0d952;
$custom-light: #e1e489;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d952",
  "rgb": {
    "r": 208,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 64,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.8532,
    "c": 0.15632,
    "h": 112.9
  },
  "luminance": 0.63645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0D952

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

Preview Lab → · Contrast checker → · Palette generator →

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