#D0CD51#D0CD51

#D0CD51 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.7% C 0.144 H 107.9°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D0CD51
RGBrgb(208, 205, 81)
HSLhsl(59, 57%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1.4%, 61.1%, 18.4%)
CIE-LABlab(80.55, -14.36, 60.24)
CIE-LCHlch(80.55, 61.93, 103.41°)
OKLaboklab(82.74% -0.0443 0.1375)
OKLCHoklch(82.74% 0.144 107.9)
XYZxyz(49.3305, 57.6681, 16.3155)
Luminance0.5767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CD51 #5154D0
analogous
#D08E51 #D0CD51 #94D051
triadic
#D0CD51 #51D0CD #CD51D0
tetradic
#D0CD51 #51D08E #5154D0 #D05194
square
#D0CD51 #51D08E #5154D0 #D05194
split-complementary
#D0CD51 #5194D0 #8E51D0
monochromatic
#838123 #B3B030 #D0CD51 #DDDB81 #EAE9B1

Accessibility & contrast

On white

1.68
#D0CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D0CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CD51
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CD51#FFFFFF#000000##000000
##D0CD511.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC542
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#DEC1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d0cd51;
/* rgb */ color: rgb(208, 205, 81);
/* oklch */ color: oklch(82.7% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#e1dc87',
    500: '#d0cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d0cd51;
$custom-light: #e1dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cd51",
  "rgb": {
    "r": 208,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 58.583,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82741,
    "c": 0.14442,
    "h": 107.9
  },
  "luminance": 0.57667
}

Semantic roles & 50–950 ramp

primary
#D0CD51
secondary
#3B3D8A
accent
#4BE147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D0CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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