#D8CA55#D8CA55

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

Color values

HEX#D8CA55
RGBrgb(216, 202, 85)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6.5%, 60.6%, 15.3%)
CIE-LABlab(80.46, -9.26, 58.61)
CIE-LCHlch(80.46, 59.34, 98.97°)
OKLaboklab(82.84% -0.0298 0.1344)
OKLCHoklch(82.84% 0.138 102.5)
XYZxyz(51.0810, 57.4978, 17.0001)
Luminance0.5750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA55 #5563D8
analogous
#D88955 #D8CA55 #A5D855
triadic
#D8CA55 #55D8CA #CA55D8
tetradic
#D8CA55 #55D889 #5563D8 #D855A5
square
#D8CA55 #55D889 #5563D8 #D855A5
split-complementary
#D8CA55 #55A5D8 #8955D8
monochromatic
#918521 #C3B32D #D8CA55 #E3DA87 #EFE9B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CA55#FFFFFF#000000##000000
##D8CA551.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)
#DBC448
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca55;
/* rgb */ color: rgb(216, 202, 85);
/* oklch */ color: oklch(82.8% 0.138 102.5);
Tailwind
colors: {
  custom: {
    50: '#e7d989',
    500: '#d8ca55',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca55;
$custom-light: #e7d989;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca55",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 53.588,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82836,
    "c": 0.13763,
    "h": 102.5
  },
  "luminance": 0.57496
}

Semantic roles & 50–950 ramp

primary
#D8CA55
secondary
#3B4596
accent
#54E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA55

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

Preview Lab → · Contrast checker → · Palette generator →

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