#D0D252#D0D252

#D0D252 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 83.8% C 0.149 H 110.1°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D0D252
RGBrgb(208, 210, 82)
HSLhsl(61, 59%, 57%)
HSVhsv(61, 61%, 82%)
CMYKcmyk(1%, 0%, 61%, 17.6%)
CIE-LABlab(81.90, -16.79, 61.27)
CIE-LCHlch(81.90, 63.53, 105.33°)
OKLaboklab(83.82% -0.0511 0.1398)
OKLCHoklch(83.82% 0.149 110.1)
XYZxyz(50.5835, 60.1136, 16.9195)
Luminance0.6011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D252 #5452D2
analogous
#D29452 #D0D252 #90D252
triadic
#D0D252 #52D0D2 #D252D0
tetradic
#D0D252 #52D294 #5452D2 #D25290
square
#D0D252 #52D294 #5452D2 #D25290
split-complementary
#D0D252 #5290D2 #9452D2
monochromatic
#858723 #B5B730 #D0D252 #DDDF83 #EAEBB3

Accessibility & contrast

On white

1.61
#D0D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D0D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D252
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D252#FFFFFF#000000##000000
##D0D2521.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C943
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#DEC6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d0d252;
/* rgb */ color: rgb(208, 210, 82);
/* oklch */ color: oklch(83.8% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#e1df88',
    500: '#d0d252',
    950: '#000000',
  },
}
SCSS
$custom: #d0d252;
$custom-light: #e1df88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d252",
  "rgb": {
    "r": 208,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 60.938,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83817,
    "c": 0.1488,
    "h": 110.1
  },
  "luminance": 0.60112
}

Semantic roles & 50–950 ramp

primary
#D0D252
secondary
#3C3B8D
accent
#46E248
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D252

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

Preview Lab → · Contrast checker → · Palette generator →

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