#D0C54E#D0C54E

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

Color values

HEX#D0C54E
RGBrgb(208, 197, 78)
HSLhsl(55, 58%, 56%)
HSVhsv(55, 63%, 82%)
CMYKcmyk(0%, 5.3%, 62.5%, 18.4%)
CIE-LABlab(78.40, -10.51, 59.20)
CIE-LCHlch(78.40, 60.13, 100.07°)
OKLaboklab(81.02% -0.0337 0.1348)
OKLCHoklch(81.02% 0.139 104)
XYZxyz(47.3556, 53.8942, 15.1144)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C54E #4E59D0
analogous
#D0844E #D0C54E #9AD04E
triadic
#D0C54E #4ED0C5 #C54ED0
tetradic
#D0C54E #4ED084 #4E59D0 #D04E9A
square
#D0C54E #4ED084 #4E59D0 #D04E9A
split-complementary
#D0C54E #4E9AD0 #844ED0
monochromatic
#817922 #B2A72F #D0C54E #DDD57E #EAE5AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C54E#FFFFFF#000000##000000
##D0C54E1.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)
#D5BF40
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#DFB8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c54e;
/* rgb */ color: rgb(208, 197, 78);
/* oklch */ color: oklch(81.0% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1d685',
    500: '#d0c54e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c54e;
$custom-light: #e1d685;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c54e",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 78
  },
  "hsl": {
    "h": 54.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81018,
    "c": 0.13898,
    "h": 104
  },
  "luminance": 0.53892
}

Semantic roles & 50–950 ramp

primary
#D0C54E
secondary
#3A4089
accent
#54E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C54E

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

Preview Lab → · Contrast checker → · Palette generator →

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