#D0C54F#D0C54F

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

Color values

HEX#D0C54F
RGBrgb(208, 197, 79)
HSLhsl(55, 58%, 56%)
HSVhsv(55, 62%, 82%)
CMYKcmyk(0%, 5.3%, 62%, 18.4%)
CIE-LABlab(78.41, -10.45, 58.78)
CIE-LCHlch(78.41, 59.71, 100.08°)
OKLaboklab(81.03% -0.0334 0.1341)
OKLCHoklch(81.03% 0.138 104)
XYZxyz(47.3917, 53.9086, 15.3047)
Luminance0.5391 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C54F #4F5AD0
analogous
#D0854F #D0C54F #9BD04F
triadic
#D0C54F #4FD0C5 #C54FD0
tetradic
#D0C54F #4FD085 #4F5AD0 #D04F9B
square
#D0C54F #4FD085 #4F5AD0 #D04F9B
split-complementary
#D0C54F #4F9BD0 #854FD0
monochromatic
#827A23 #B2A730 #D0C54F #DDD57F #EAE5B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C54F#FFFFFF#000000##000000
##D0C54F1.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)
#D5BF41
Deuteranopia (green-blind)
#D9C556
Tritanopia (blue-blind)
#DFB8AC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d0c54f;
/* rgb */ color: rgb(208, 197, 79);
/* oklch */ color: oklch(81.0% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#e1d685',
    500: '#d0c54f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c54f;
$custom-light: #e1d685;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c54f",
  "rgb": {
    "r": 208,
    "g": 197,
    "b": 79
  },
  "hsl": {
    "h": 54.884,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81027,
    "c": 0.13819,
    "h": 104
  },
  "luminance": 0.53907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C54F

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

Preview Lab → · Contrast checker → · Palette generator →

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