#D8CA4C#D8CA4C

#D8CA4C is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.145 H 103.0°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D8CA4C
RGBrgb(216, 202, 76)
HSLhsl(54, 64%, 57%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6.5%, 64.8%, 15.3%)
CIE-LABlab(80.38, -9.82, 62.35)
CIE-LCHlch(80.38, 63.12, 98.95°)
OKLaboklab(82.75% -0.0324 0.141)
OKLCHoklch(82.75% 0.145 103)
XYZxyz(50.7459, 57.3638, 15.2354)
Luminance0.5736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA4C #4C5AD8
analogous
#D8844C #D8CA4C #A0D84C
triadic
#D8CA4C #4CD8CA #CA4CD8
tetradic
#D8CA4C #4CD884 #4C5AD8 #D84CA0
square
#D8CA4C #4CD884 #4C5AD8 #D84CA0
split-complementary
#D8CA4C #4CA0D8 #844CD8
monochromatic
#8B801E #BEAF29 #D8CA4C #E3D97E #EEE8B1

Accessibility & contrast

On white

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

On black

12.47
#D8CA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA4C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA4C#FFFFFF#000000##000000
##D8CA4C1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC43C
Deuteranopia (green-blind)
#E0CA53
Tritanopia (blue-blind)
#E8BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8ca4c;
/* rgb */ color: rgb(216, 202, 76);
/* oklch */ color: oklch(82.8% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d984',
    500: '#d8ca4c',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca4c;
$custom-light: #e7d984;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca4c",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 54,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82753,
    "c": 0.14465,
    "h": 103
  },
  "luminance": 0.57362
}

Semantic roles & 50–950 ramp

primary
#D8CA4C
secondary
#374091
accent
#51E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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