#D0C856#D0C856

#D0C856 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.135 H 105.3°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D0C856
RGBrgb(208, 200, 86)
HSLhsl(56, 56%, 58%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 3.8%, 58.7%, 18.4%)
CIE-LABlab(79.27, -11.50, 56.67)
CIE-LCHlch(79.27, 57.82, 101.47°)
OKLaboklab(81.73% -0.0356 0.1305)
OKLCHoklch(81.73% 0.135 105.3)
XYZxyz(48.3480, 55.3919, 16.9472)
Luminance0.5539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C856 #565ED0
analogous
#D08B56 #D0C856 #9BD056
triadic
#D0C856 #56D0C8 #C856D0
tetradic
#D0C856 #56D08B #565ED0 #D0569B
square
#D0C856 #56D08B #565ED0 #D0569B
split-complementary
#D0C856 #569BD0 #8B56D0
monochromatic
#868025 #B6AE33 #D0C856 #DDD886 #EBE7B6

Accessibility & contrast

On white

1.74
#D0C856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#D0C856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C856
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C856#FFFFFF#000000##000000
##D0C8561.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14A
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#DEBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c856;
/* rgb */ color: rgb(208, 200, 86);
/* oklch */ color: oklch(81.7% 0.135 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d88a',
    500: '#d0c856',
    950: '#000000',
  },
}
SCSS
$custom: #d0c856;
$custom-light: #e1d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c856",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 56.066,
    "s": 56.481,
    "l": 57.647
  },
  "oklch": {
    "l": 0.81729,
    "c": 0.13531,
    "h": 105.3
  },
  "luminance": 0.5539
}

Semantic roles & 50–950 ramp

primary
#D0C856
secondary
#3D428D
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C856

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

Preview Lab → · Contrast checker → · Palette generator →

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