#D0D052#D0D052

#D0D052 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.4% C 0.147 H 109.2°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D0D052
RGBrgb(208, 208, 82)
HSLhsl(60, 57%, 57%)
HSVhsv(60, 61%, 82%)
CMYKcmyk(0%, 0%, 60.6%, 18.4%)
CIE-LABlab(81.36, -15.80, 60.69)
CIE-LCHlch(81.36, 62.71, 104.59°)
OKLaboklab(83.39% -0.0482 0.1386)
OKLCHoklch(83.39% 0.147 109.2)
XYZxyz(50.0928, 59.1322, 16.7559)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D052 #5252D0
analogous
#D09152 #D0D052 #91D052
triadic
#D0D052 #52D0D0 #D052D0
tetradic
#D0D052 #52D091 #5252D0 #D05291
square
#D0D052 #52D091 #5252D0 #D05291
split-complementary
#D0D052 #5291D0 #9152D0
monochromatic
#848424 #B4B431 #D0D052 #DDDD82 #EAEAB2

Accessibility & contrast

On white

1.64
#D0D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.83
#D0D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D052
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D052#FFFFFF#000000##000000
##D0D0521.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#DEC4B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d0d052;
/* rgb */ color: rgb(208, 208, 82);
/* oklch */ color: oklch(83.4% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1de88',
    500: '#d0d052',
    950: '#000000',
  },
}
SCSS
$custom: #d0d052;
$custom-light: #e1de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d052",
  "rgb": {
    "r": 208,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 60,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.83389,
    "c": 0.14671,
    "h": 109.2
  },
  "luminance": 0.59131
}

Semantic roles & 50–950 ramp

primary
#D0D052
secondary
#3B3B8B
accent
#47E147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D052

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

Preview Lab → · Contrast checker → · Palette generator →

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