#D8C94D#D8C94D

#D8C94D is a very light, vivid yellow. Relative luminance 0.569; OKLCH L 82.6% C 0.143 H 102.4°. Best body text is #000000 at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#D8C94D
RGBrgb(216, 201, 77)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 64%, 85%)
CMYKcmyk(0%, 6.9%, 64.4%, 15.3%)
CIE-LABlab(80.13, -9.26, 61.67)
CIE-LCHlch(80.13, 62.36, 98.54°)
OKLaboklab(82.55% -0.0307 0.1397)
OKLCHoklch(82.55% 0.143 102.4)
XYZxyz(50.5471, 56.9101, 15.3419)
Luminance0.5691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C94D #4D5CD8
analogous
#D8834D #D8C94D #A2D84D
triadic
#D8C94D #4DD8C9 #C94DD8
tetradic
#D8C94D #4DD883 #4D5CD8 #D84DA2
square
#D8C94D #4DD883 #4D5CD8 #D84DA2
split-complementary
#D8C94D #4DA2D8 #834DD8
monochromatic
#8C801F #BEAE2A #D8C94D #E3D87F #EEE7B1

Accessibility & contrast

On white

1.70
#D8C94D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.38
#D8C94D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C94D
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C94D#FFFFFF#000000##000000
##D8C94D1.001.7012.3812.38
#FFFFFF1.701.0021.0021.00
#00000012.3821.001.001.00
##00000012.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC33D
Deuteranopia (green-blind)
#DFCA54
Tritanopia (blue-blind)
#E8BCAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8c94d;
/* rgb */ color: rgb(216, 201, 77);
/* oklch */ color: oklch(82.6% 0.143 102.4);
Tailwind
colors: {
  custom: {
    50: '#e7d985',
    500: '#d8c94d',
    950: '#000000',
  },
}
SCSS
$custom: #d8c94d;
$custom-light: #e7d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c94d",
  "rgb": {
    "r": 216,
    "g": 201,
    "b": 77
  },
  "hsl": {
    "h": 53.525,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82553,
    "c": 0.14303,
    "h": 102.4
  },
  "luminance": 0.56908
}

Semantic roles & 50–950 ramp

primary
#D8C94D
secondary
#374192
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8C94D

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

Preview Lab → · Contrast checker → · Palette generator →

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