#D8C84A#D8C84A

#D8C84A is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.3% C 0.144 H 102.0°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D8C84A
RGBrgb(216, 200, 74)
HSLhsl(53, 65%, 57%)
HSVhsv(53, 66%, 85%)
CMYKcmyk(0%, 7.4%, 65.7%, 15.3%)
CIE-LABlab(79.84, -8.92, 62.60)
CIE-LCHlch(79.84, 63.23, 98.11°)
OKLaboklab(82.32% -0.0301 0.1412)
OKLCHoklch(82.32% 0.144 102)
XYZxyz(50.2113, 56.4040, 14.7194)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C84A #4A5AD8
analogous
#D8814A #D8C84A #A1D84A
triadic
#D8C84A #4AD8C8 #C84AD8
tetradic
#D8C84A #4AD881 #4A5AD8 #D84AA1
square
#D8C84A #4AD881 #4A5AD8 #D84AA1
split-complementary
#D8C84A #4AA1D8 #814AD8
monochromatic
#8A7E1E #BCAC29 #D8C84A #E3D77C #EEE7AF

Accessibility & contrast

On white

1.71
#D8C84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D8C84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C84A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C84A#FFFFFF#000000##000000
##D8C84A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC239
Deuteranopia (green-blind)
#DEC951
Tritanopia (blue-blind)
#E8BAAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c84a;
/* rgb */ color: rgb(216, 200, 74);
/* oklch */ color: oklch(82.3% 0.144 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7d883',
    500: '#d8c84a',
    950: '#000000',
  },
}
SCSS
$custom: #d8c84a;
$custom-light: #e7d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c84a",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 74
  },
  "hsl": {
    "h": 53.239,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82318,
    "c": 0.14437,
    "h": 102
  },
  "luminance": 0.56402
}

Semantic roles & 50–950 ramp

primary
#D8C84A
secondary
#364090
accent
#53E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C84A

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

Preview Lab → · Contrast checker → · Palette generator →

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