#D0CC54#D0CC54

#D0CC54 is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.141 H 107.3°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D0CC54
RGBrgb(208, 204, 84)
HSLhsl(58, 57%, 57%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 1.9%, 59.6%, 18.4%)
CIE-LABlab(80.31, -13.66, 58.70)
CIE-LCHlch(80.31, 60.27, 103.10°)
OKLaboklab(82.56% -0.042 0.1346)
OKLCHoklch(82.56% 0.141 107.3)
XYZxyz(49.2071, 57.2372, 16.8416)
Luminance0.5724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC54 #5458D0
analogous
#D08E54 #D0CC54 #96D054
triadic
#D0CC54 #54D0CC #CC54D0
tetradic
#D0CC54 #54D08E #5458D0 #D05496
square
#D0CC54 #54D08E #5458D0 #D05496
split-complementary
#D0CC54 #5496D0 #8E54D0
monochromatic
#858225 #B5B132 #D0CC54 #DDDA84 #EAE9B4

Accessibility & contrast

On white

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

On black

12.45
#D0CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC54
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC54#FFFFFF#000000##000000
##D0CC541.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0cc54;
/* rgb */ color: rgb(208, 204, 84);
/* oklch */ color: oklch(82.6% 0.141 107.3);
Tailwind
colors: {
  custom: {
    50: '#e1db89',
    500: '#d0cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc54;
$custom-light: #e1db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc54",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 58.065,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82557,
    "c": 0.14099,
    "h": 107.3
  },
  "luminance": 0.57236
}

Semantic roles & 50–950 ramp

primary
#D0CC54
secondary
#3C3F8C
accent
#4DE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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