#D0C752#D0C752

#D0C752 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.138 H 104.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D0C752
RGBrgb(208, 199, 82)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 61%, 82%)
CMYKcmyk(0%, 4.3%, 60.6%, 18.4%)
CIE-LABlab(78.96, -11.27, 58.09)
CIE-LCHlch(78.96, 59.18, 100.98°)
OKLaboklab(81.48% -0.0354 0.133)
OKLCHoklch(81.48% 0.138 104.9)
XYZxyz(47.9605, 54.8676, 16.0452)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C752 #525BD0
analogous
#D08852 #D0C752 #9AD052
triadic
#D0C752 #52D0C7 #C752D0
tetradic
#D0C752 #52D088 #525BD0 #D0529A
square
#D0C752 #52D088 #525BD0 #D0529A
split-complementary
#D0C752 #529AD0 #8852D0
monochromatic
#847D24 #B4AB31 #D0C752 #DDD782 #EAE6B2

Accessibility & contrast

On white

1.75
#D0C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D0C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C752
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C752#FFFFFF#000000##000000
##D0C7521.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DAC659
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d0c752;
/* rgb */ color: rgb(208, 199, 82);
/* oklch */ color: oklch(81.5% 0.138 104.9);
Tailwind
colors: {
  custom: {
    50: '#e1d787',
    500: '#d0c752',
    950: '#000000',
  },
}
SCSS
$custom: #d0c752;
$custom-light: #e1d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c752",
  "rgb": {
    "r": 208,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 55.714,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.81478,
    "c": 0.13767,
    "h": 104.9
  },
  "luminance": 0.54866
}

Semantic roles & 50–950 ramp

primary
#D0C752
secondary
#3B418B
accent
#52E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C752

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

Preview Lab → · Contrast checker → · Palette generator →

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