#D0CC50#D0CC50

#D0CC50 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.5% C 0.144 H 107.4°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D0CC50
RGBrgb(208, 204, 80)
HSLhsl(58, 58%, 56%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 1.9%, 61.5%, 18.4%)
CIE-LABlab(80.28, -13.93, 60.37)
CIE-LCHlch(80.28, 61.96, 102.99°)
OKLaboklab(82.52% -0.0432 0.1376)
OKLCHoklch(82.52% 0.144 107.4)
XYZxyz(49.0549, 57.1763, 16.0400)
Luminance0.5717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC50 #5054D0
analogous
#D08C50 #D0CC50 #94D050
triadic
#D0CC50 #50D0CC #CC50D0
tetradic
#D0CC50 #50D08C #5054D0 #D05094
square
#D0CC50 #50D08C #5054D0 #D05094
split-complementary
#D0CC50 #5094D0 #8C50D0
monochromatic
#838023 #B3AF30 #D0CC50 #DDDA80 #EAE8B0

Accessibility & contrast

On white

1.69
#D0CC50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D0CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC50
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC50#FFFFFF#000000##000000
##D0CC501.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC441
Deuteranopia (green-blind)
#DEC957
Tritanopia (blue-blind)
#DEC0B2
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc50;
/* rgb */ color: rgb(208, 204, 80);
/* oklch */ color: oklch(82.5% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e1db86',
    500: '#d0cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc50;
$custom-light: #e1db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc50",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 58.125,
    "s": 57.658,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82519,
    "c": 0.1442,
    "h": 107.4
  },
  "luminance": 0.57175
}

Semantic roles & 50–950 ramp

primary
#D0CC50
secondary
#3B3D8A
accent
#4CE147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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