#D0CC56#D0CC56

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

Color values

HEX#D0CC56
RGBrgb(208, 204, 86)
HSLhsl(58, 56%, 58%)
HSVhsv(58, 59%, 82%)
CMYKcmyk(0%, 1.9%, 58.7%, 18.4%)
CIE-LABlab(80.33, -13.52, 57.85)
CIE-LCHlch(80.33, 59.41, 103.16°)
OKLaboklab(82.58% -0.0414 0.133)
OKLCHoklch(82.58% 0.139 107.3)
XYZxyz(49.2865, 57.2690, 17.2601)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC56 #565AD0
analogous
#D08F56 #D0CC56 #97D056
triadic
#D0CC56 #56D0CC #CC56D0
tetradic
#D0CC56 #56D08F #565AD0 #D05697
square
#D0CC56 #56D08F #565AD0 #D05697
split-complementary
#D0CC56 #5697D0 #8F56D0
monochromatic
#868325 #B6B233 #D0CC56 #DDDA86 #EBE9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0CC56#FFFFFF#000000##000000
##D0CC561.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)
#DCC549
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#DEC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc56;
/* rgb */ color: rgb(208, 204, 86);
/* oklch */ color: oklch(82.6% 0.139 107.3);
Tailwind
colors: {
  custom: {
    50: '#e1db8a',
    500: '#d0cc56',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc56;
$custom-light: #e1db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc56",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 86
  },
  "hsl": {
    "h": 58.033,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82577,
    "c": 0.13932,
    "h": 107.3
  },
  "luminance": 0.57268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0CC56

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

Preview Lab → · Contrast checker → · Palette generator →

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