#D8CA54#D8CA54

#D8CA54 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.138 H 102.6°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D8CA54
RGBrgb(216, 202, 84)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6.5%, 61.1%, 15.3%)
CIE-LABlab(80.45, -9.32, 59.04)
CIE-LCHlch(80.45, 59.77, 98.97°)
OKLaboklab(82.83% -0.0301 0.1351)
OKLCHoklch(82.83% 0.138 102.6)
XYZxyz(51.0416, 57.4820, 16.7923)
Luminance0.5748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA54 #5462D8
analogous
#D88854 #D8CA54 #A4D854
triadic
#D8CA54 #54D8CA #CA54D8
tetradic
#D8CA54 #54D888 #5462D8 #D854A4
square
#D8CA54 #54D888 #5462D8 #D854A4
split-complementary
#D8CA54 #54A4D8 #8854D8
monochromatic
#918521 #C2B32C #D8CA54 #E3D986 #EFE9B8

Accessibility & contrast

On white

1.68
#D8CA54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D8CA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA54
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA54#FFFFFF#000000##000000
##D8CA541.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC447
Deuteranopia (green-blind)
#DFCA5A
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca54;
/* rgb */ color: rgb(216, 202, 84);
/* oklch */ color: oklch(82.8% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7d989',
    500: '#d8ca54',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca54;
$custom-light: #e7d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca54",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 53.636,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82826,
    "c": 0.13845,
    "h": 102.6
  },
  "luminance": 0.5748
}

Semantic roles & 50–950 ramp

primary
#D8CA54
secondary
#3A4496
accent
#53E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA54

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

Preview Lab → · Contrast checker → · Palette generator →

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