#D0C854#D0C854

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

Color values

HEX#D0C854
RGBrgb(208, 200, 84)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 60%, 82%)
CMYKcmyk(0%, 3.8%, 59.6%, 18.4%)
CIE-LABlab(79.25, -11.64, 57.53)
CIE-LCHlch(79.25, 58.70, 101.44°)
OKLaboklab(81.71% -0.0362 0.1321)
OKLCHoklch(81.71% 0.137 105.3)
XYZxyz(48.2686, 55.3602, 16.5288)
Luminance0.5536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C854 #545CD0
analogous
#D08A54 #D0C854 #9AD054
triadic
#D0C854 #54D0C8 #C854D0
tetradic
#D0C854 #54D08A #545CD0 #D0549A
square
#D0C854 #54D08A #545CD0 #D0549A
split-complementary
#D0C854 #549AD0 #8A54D0
monochromatic
#857F25 #B5AD32 #D0C854 #DDD784 #EAE7B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C854#FFFFFF#000000##000000
##D0C8541.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)
#D8C147
Deuteranopia (green-blind)
#DBC75A
Tritanopia (blue-blind)
#DEBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c854;
/* rgb */ color: rgb(208, 200, 84);
/* oklch */ color: oklch(81.7% 0.137 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1d889',
    500: '#d0c854',
    950: '#000000',
  },
}
SCSS
$custom: #d0c854;
$custom-light: #e1d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c854",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 84
  },
  "hsl": {
    "h": 56.129,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81709,
    "c": 0.13699,
    "h": 105.3
  },
  "luminance": 0.55359
}

Semantic roles & 50–950 ramp

primary
#D0C854
secondary
#3C418C
accent
#51E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C854

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

Preview Lab → · Contrast checker → · Palette generator →

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