#D0CE52#D0CE52

#D0CE52 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 83.0% C 0.145 H 108.3°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#D0CE52
RGBrgb(208, 206, 82)
HSLhsl(59, 57%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1%, 60.6%, 18.4%)
CIE-LABlab(80.83, -14.80, 60.12)
CIE-LCHlch(80.83, 61.91, 103.83°)
OKLaboklab(82.96% -0.0454 0.1373)
OKLCHoklch(82.96% 0.145 108.3)
XYZxyz(49.6083, 58.1631, 16.5944)
Luminance0.5816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CE52 #5254D0
analogous
#D08F52 #D0CE52 #93D052
triadic
#D0CE52 #52D0CE #CE52D0
tetradic
#D0CE52 #52D08F #5254D0 #D05293
square
#D0CE52 #52D08F #5254D0 #D05293
split-complementary
#D0CE52 #5293D0 #8F52D0
monochromatic
#848224 #B4B231 #D0CE52 #DDDC82 #EAE9B2

Accessibility & contrast

On white

1.66
#D0CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#D0CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CE52
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CE52#FFFFFF#000000##000000
##D0CE521.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#DEC2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d0ce52;
/* rgb */ color: rgb(208, 206, 82);
/* oklch */ color: oklch(83.0% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e1dc88',
    500: '#d0ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d0ce52;
$custom-light: #e1dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ce52",
  "rgb": {
    "r": 208,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 59.048,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82963,
    "c": 0.14465,
    "h": 108.3
  },
  "luminance": 0.58162
}

Semantic roles & 50–950 ramp

primary
#D0CE52
secondary
#3B3D8B
accent
#4AE147
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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