#D0C54D#D0C54D

#D0C54D is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.140 H 104.1°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D0C54D
RGBrgb(208, 197, 77)
HSLhsl(55, 58%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.3%, 63%, 18.4%)
CIE-LABlab(78.39, -10.58, 59.62)
CIE-LCHlch(78.39, 60.55, 100.06°)
OKLaboklab(81.01% -0.034 0.1356)
OKLCHoklch(81.01% 0.14 104.1)
XYZxyz(47.3200, 53.8800, 14.9270)
Luminance0.5388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C54D #4D58D0
analogous
#D0834D #D0C54D #99D04D
triadic
#D0C54D #4DD0C5 #C54DD0
tetradic
#D0C54D #4DD083 #4D58D0 #D04D99
square
#D0C54D #4DD083 #4D58D0 #D04D99
split-complementary
#D0C54D #4D99D0 #834DD0
monochromatic
#817922 #B1A62F #D0C54D #DDD57D #EAE5AE

Accessibility & contrast

On white

1.78
#D0C54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D0C54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C54D
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C54D#FFFFFF#000000##000000
##D0C54D1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF3E
Deuteranopia (green-blind)
#D9C554
Tritanopia (blue-blind)
#DFB8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c54d;
/* rgb */ color: rgb(208, 197, 77);
/* oklch */ color: oklch(81.0% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#e1d684',
    500: '#d0c54d',
    950: '#000000',
  },
}
SCSS
$custom: #d0c54d;
$custom-light: #e1d684;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c54d",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 77
  },
  "hsl": {
    "h": 54.962,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81008,
    "c": 0.13977,
    "h": 104.1
  },
  "luminance": 0.53878
}

Semantic roles & 50–950 ramp

primary
#D0C54D
secondary
#394088
accent
#53E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C54D

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

Preview Lab → · Contrast checker → · Palette generator →

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