#D8C84E#D8C84E

#D8C84E is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.4% C 0.141 H 101.8°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#D8C84E
RGBrgb(216, 200, 78)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 64%, 85%)
CMYKcmyk(0%, 7.4%, 63.9%, 15.3%)
CIE-LABlab(79.87, -8.69, 60.98)
CIE-LCHlch(79.87, 61.60, 98.11°)
OKLaboklab(82.35% -0.029 0.1384)
OKLCHoklch(82.35% 0.141 101.8)
XYZxyz(50.3503, 56.4596, 15.4519)
Luminance0.5646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C84E #4E5ED8
analogous
#D8834E #D8C84E #A3D84E
triadic
#D8C84E #4ED8C8 #C84ED8
tetradic
#D8C84E #4ED883 #4E5ED8 #D84EA3
square
#D8C84E #4ED883 #4E5ED8 #D84EA3
split-complementary
#D8C84E #4EA3D8 #834ED8
monochromatic
#8D801F #BFAE2A #D8C84E #E3D880 #EEE7B2

Accessibility & contrast

On white

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

On black

12.29
#D8C84E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C84E
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C84E#FFFFFF#000000##000000
##D8C84E1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23F
Deuteranopia (green-blind)
#DEC955
Tritanopia (blue-blind)
#E8BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d8c84e;
/* rgb */ color: rgb(216, 200, 78);
/* oklch */ color: oklch(82.4% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#e7d885',
    500: '#d8c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d8c84e;
$custom-light: #e7d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c84e",
  "rgb": {
    "r": 216,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 53.043,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82353,
    "c": 0.14139,
    "h": 101.8
  },
  "luminance": 0.56458
}

Semantic roles & 50–950 ramp

primary
#D8C84E
secondary
#384292
accent
#54E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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