#D8CB51#D8CB51

#D8CB51 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 83.0% C 0.142 H 103.2°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D8CB51
RGBrgb(216, 203, 81)
HSLhsl(54, 63%, 58%)
HSVhsv(54, 63%, 85%)
CMYKcmyk(0%, 6%, 62.5%, 15.3%)
CIE-LABlab(80.69, -10.02, 60.58)
CIE-LCHlch(80.69, 61.41, 99.40°)
OKLaboklab(83.01% -0.0325 0.138)
OKLCHoklch(83.01% 0.142 103.2)
XYZxyz(51.1620, 57.9068, 16.2652)
Luminance0.5790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB51 #515ED8
analogous
#D88751 #D8CB51 #A1D851
triadic
#D8CB51 #51D8CB #CB51D8
tetradic
#D8CB51 #51D887 #515ED8 #D851A1
square
#D8CB51 #51D887 #515ED8 #D851A1
split-complementary
#D8CB51 #51A1D8 #8751D8
monochromatic
#8F8420 #C1B22B #D8CB51 #E3DA83 #EEE9B5

Accessibility & contrast

On white

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

On black

12.58
#D8CB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB51
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB51#FFFFFF#000000##000000
##D8CB511.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC542
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E7BEB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb51;
/* rgb */ color: rgb(216, 203, 81);
/* oklch */ color: oklch(83.0% 0.142 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7da87',
    500: '#d8cb51',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb51;
$custom-light: #e7da87;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb51",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 81
  },
  "hsl": {
    "h": 54.222,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83006,
    "c": 0.14175,
    "h": 103.2
  },
  "luminance": 0.57905
}

Semantic roles & 50–950 ramp

primary
#D8CB51
secondary
#394294
accent
#51E641
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB51

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

Preview Lab → · Contrast checker → · Palette generator →

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