#D8CB54#D8CB54

#D8CB54 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.139 H 103.1°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D8CB54
RGBrgb(216, 203, 84)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6%, 61.1%, 15.3%)
CIE-LABlab(80.71, -9.83, 59.32)
CIE-LCHlch(80.71, 60.13, 99.41°)
OKLaboklab(83.04% -0.0316 0.1357)
OKLCHoklch(83.04% 0.139 103.1)
XYZxyz(51.2770, 57.9528, 16.8708)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB54 #5461D8
analogous
#D88954 #D8CB54 #A3D854
triadic
#D8CB54 #54D8CB #CB54D8
tetradic
#D8CB54 #54D889 #5461D8 #D854A3
square
#D8CB54 #54D889 #5461D8 #D854A3
split-complementary
#D8CB54 #54A3D8 #8954D8
monochromatic
#918621 #C2B42C #D8CB54 #E3DA86 #EFE9B8

Accessibility & contrast

On white

1.67
#D8CB54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D8CB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB54
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB54#FFFFFF#000000##000000
##D8CB541.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC546
Deuteranopia (green-blind)
#E0CB5A
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb54;
/* rgb */ color: rgb(216, 203, 84);
/* oklch */ color: oklch(83.0% 0.139 103.1);
Tailwind
colors: {
  custom: {
    50: '#e7da89',
    500: '#d8cb54',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb54;
$custom-light: #e7da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb54",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 84
  },
  "hsl": {
    "h": 54.091,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83035,
    "c": 0.13935,
    "h": 103.1
  },
  "luminance": 0.57951
}

Semantic roles & 50–950 ramp

primary
#D8CB54
secondary
#3A4396
accent
#52E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB54

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

Preview Lab → · Contrast checker → · Palette generator →

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