#D0D452#D0D452

#D0D452 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.2% C 0.151 H 110.9°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#D0D452
RGBrgb(208, 212, 82)
HSLhsl(62, 60%, 58%)
HSVhsv(62, 61%, 83%)
CMYKcmyk(1.9%, 0%, 61.3%, 16.9%)
CIE-LABlab(82.44, -17.78, 61.84)
CIE-LCHlch(82.44, 64.35, 106.04°)
OKLaboklab(84.25% -0.0538 0.141)
OKLCHoklch(84.25% 0.151 110.9)
XYZxyz(51.0804, 61.1073, 17.0851)
Luminance0.6111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0D452 #5652D4
analogous
#D49752 #D0D452 #8FD452
triadic
#D0D452 #52D0D4 #D452D0
tetradic
#D0D452 #52D497 #5652D4 #D4528F
square
#D0D452 #52D497 #5652D4 #D4528F
split-complementary
#D0D452 #528FD4 #9752D4
monochromatic
#868922 #B6BA2E #D0D452 #DDE083 #EBECB4

Accessibility & contrast

On white

1.59
#D0D452 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#D0D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0D452
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0D452#FFFFFF#000000##000000
##D0D4521.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E4CF5A
Tritanopia (blue-blind)
#DDC8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d0d452;
/* rgb */ color: rgb(208, 212, 82);
/* oklch */ color: oklch(84.2% 0.151 110.9);
Tailwind
colors: {
  custom: {
    50: '#e1e188',
    500: '#d0d452',
    950: '#000000',
  },
}
SCSS
$custom: #d0d452;
$custom-light: #e1e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d0d452",
  "rgb": {
    "r": 208,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 61.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84245,
    "c": 0.15092,
    "h": 110.9
  },
  "luminance": 0.61106
}

Semantic roles & 50–950 ramp

primary
#D0D452
secondary
#3D3B90
accent
#44E349
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0D452

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

Preview Lab → · Contrast checker → · Palette generator →

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