#D5C84A#D5C84A

#D5C84A is a very light, vivid yellow. Relative luminance 0.559; OKLCH L 82.1% C 0.144 H 103.4°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#D5C84A
RGBrgb(213, 200, 74)
HSLhsl(54, 62%, 56%)
HSVhsv(54, 65%, 84%)
CMYKcmyk(0%, 6.1%, 65.3%, 16.5%)
CIE-LABlab(79.59, -10.18, 62.25)
CIE-LCHlch(79.59, 63.08, 99.29°)
OKLaboklab(82.05% -0.0335 0.1406)
OKLCHoklch(82.05% 0.144 103.4)
XYZxyz(49.3328, 55.9510, 14.6783)
Luminance0.5595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5C84A #4A57D5
analogous
#D5834A #D5C84A #9DD54A
triadic
#D5C84A #4AD5C8 #C84AD5
tetradic
#D5C84A #4AD583 #4A57D5 #D54A9D
square
#D5C84A #4AD583 #4A57D5 #D54A9D
split-complementary
#D5C84A #4A9DD5 #834AD5
monochromatic
#867C1F #B7AA2B #D5C84A #E1D77C #ECE6AD

Accessibility & contrast

On white

1.72
#D5C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.19
#D5C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5C84A
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5C84A#FFFFFF#000000##000000
##D5C84A1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23A
Deuteranopia (green-blind)
#DDC851
Tritanopia (blue-blind)
#E4BBAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d5c84a;
/* rgb */ color: rgb(213, 200, 74);
/* oklch */ color: oklch(82.1% 0.144 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5d883',
    500: '#d5c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d5c84a;
$custom-light: #e5d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d5c84a",
  "rgb": {
    "r": 213,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 54.388,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.82052,
    "c": 0.14449,
    "h": 103.4
  },
  "luminance": 0.55949
}

Semantic roles & 50–950 ramp

primary
#D5C84A
secondary
#373F8C
accent
#52E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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