#D8CA4A#D8CA4A

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

Color values

HEX#D8CA4A
RGBrgb(216, 202, 74)
HSLhsl(54, 65%, 57%)
HSVhsv(54, 66%, 85%)
CMYKcmyk(0%, 6.5%, 65.7%, 15.3%)
CIE-LABlab(80.37, -9.94, 63.15)
CIE-LCHlch(80.37, 63.92, 98.94°)
OKLaboklab(82.74% -0.033 0.1424)
OKLCHoklch(82.74% 0.146 103)
XYZxyz(50.6775, 57.3364, 14.8748)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA4A #4A58D8
analogous
#D8834A #D8CA4A #9FD84A
triadic
#D8CA4A #4AD8CA #CA4AD8
tetradic
#D8CA4A #4AD883 #4A58D8 #D84A9F
square
#D8CA4A #4AD883 #4A58D8 #D84A9F
split-complementary
#D8CA4A #4A9FD8 #834AD8
monochromatic
#8A7F1E #BCAE29 #D8CA4A #E3D97C #EEE7AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CA4A#FFFFFF#000000##000000
##D8CA4A1.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)
#DCC439
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#E8BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8ca4a;
/* rgb */ color: rgb(216, 202, 74);
/* oklch */ color: oklch(82.7% 0.146 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7d983',
    500: '#d8ca4a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca4a;
$custom-light: #e7d983;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca4a",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 74
  },
  "hsl": {
    "h": 54.085,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82735,
    "c": 0.14612,
    "h": 103
  },
  "luminance": 0.57334
}

Semantic roles & 50–950 ramp

primary
#D8CA4A
secondary
#363F90
accent
#51E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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