#D8CA4E#D8CA4E

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

Color values

HEX#D8CA4E
RGBrgb(216, 202, 78)
HSLhsl(54, 64%, 58%)
HSVhsv(54, 64%, 85%)
CMYKcmyk(0%, 6.5%, 63.9%, 15.3%)
CIE-LABlab(80.40, -9.70, 61.54)
CIE-LCHlch(80.40, 62.30, 98.96°)
OKLaboklab(82.77% -0.0319 0.1396)
OKLCHoklch(82.77% 0.143 102.9)
XYZxyz(50.8166, 57.3920, 15.6073)
Luminance0.5739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA4E #4E5CD8
analogous
#D8854E #D8CA4E #A1D84E
triadic
#D8CA4E #4ED8CA #CA4ED8
tetradic
#D8CA4E #4ED885 #4E5CD8 #D84EA1
square
#D8CA4E #4ED885 #4E5CD8 #D84EA1
split-complementary
#D8CA4E #4EA1D8 #854ED8
monochromatic
#8D811F #BFB02A #D8CA4E #E3D980 #EEE8B2

Accessibility & contrast

On white

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

On black

12.48
#D8CA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA4E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA4E#FFFFFF#000000##000000
##D8CA4E1.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ca4e;
/* rgb */ color: rgb(216, 202, 78);
/* oklch */ color: oklch(82.8% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e7d985',
    500: '#d8ca4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca4e;
$custom-light: #e7d985;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca4e",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 78
  },
  "hsl": {
    "h": 53.913,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.8277,
    "c": 0.14315,
    "h": 102.9
  },
  "luminance": 0.5739
}

Semantic roles & 50–950 ramp

primary
#D8CA4E
secondary
#384192
accent
#52E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8CA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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