#D0C855#D0C855

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

Color values

HEX#D0C855
RGBrgb(208, 200, 85)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 59%, 82%)
CMYKcmyk(0%, 3.8%, 59.1%, 18.4%)
CIE-LABlab(79.26, -11.57, 57.10)
CIE-LCHlch(79.26, 58.26, 101.45°)
OKLaboklab(81.72% -0.0359 0.1313)
OKLCHoklch(81.72% 0.136 105.3)
XYZxyz(48.3080, 55.3759, 16.7365)
Luminance0.5537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C855 #555DD0
analogous
#D08B55 #D0C855 #9AD055
triadic
#D0C855 #55D0C8 #C855D0
tetradic
#D0C855 #55D08B #555DD0 #D0559A
square
#D0C855 #55D08B #555DD0 #D0559A
split-complementary
#D0C855 #559AD0 #8B55D0
monochromatic
#867F25 #B6AD32 #D0C855 #DDD885 #EBE7B5

Accessibility & contrast

On white

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

On black

12.07
#D0C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C855
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C855#FFFFFF#000000##000000
##D0C8551.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c855;
/* rgb */ color: rgb(208, 200, 85);
/* oklch */ color: oklch(81.7% 0.136 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d889',
    500: '#d0c855',
    950: '#000000',
  },
}
SCSS
$custom: #d0c855;
$custom-light: #e1d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c855",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 56.098,
    "s": 56.682,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81719,
    "c": 0.13616,
    "h": 105.3
  },
  "luminance": 0.55374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C855

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

Preview Lab → · Contrast checker → · Palette generator →

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