#D8C653#D8C653

#D8C653 is a light, vivid yellow. Relative luminance 0.556; OKLCH L 82.0% C 0.136 H 100.4°. Best body text is #000000 at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#D8C653
RGBrgb(216, 198, 83)
HSLhsl(52, 63%, 59%)
HSVhsv(52, 62%, 85%)
CMYKcmyk(0%, 8.3%, 61.6%, 15.3%)
CIE-LABlab(79.39, -7.35, 58.32)
CIE-LCHlch(79.39, 58.78, 97.18°)
OKLaboklab(81.99% -0.0246 0.1335)
OKLCHoklch(81.99% 0.136 100.4)
XYZxyz(50.0763, 55.6137, 16.2787)
Luminance0.5561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C653 #5365D8
analogous
#D88353 #D8C653 #A7D853
triadic
#D8C653 #53D8C6 #C653D8
tetradic
#D8C653 #53D883 #5365D8 #D853A7
square
#D8C653 #53D883 #5365D8 #D853A7
split-complementary
#D8C653 #53A7D8 #8353D8
monochromatic
#908121 #C2AE2C #D8C653 #E3D785 #EFE7B7

Accessibility & contrast

On white

1.73
#D8C653 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.12
#D8C653 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C653
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C653#FFFFFF#000000##000000
##D8C6531.001.7312.1212.12
#FFFFFF1.731.0021.0021.00
#00000012.1221.001.001.00
##00000012.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C146
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#E8B9AD
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d8c653;
/* rgb */ color: rgb(216, 198, 83);
/* oklch */ color: oklch(82.0% 0.136 100.4);
Tailwind
colors: {
  custom: {
    50: '#e7d788',
    500: '#d8c653',
    950: '#000000',
  },
}
SCSS
$custom: #d8c653;
$custom-light: #e7d788;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c653",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 83
  },
  "hsl": {
    "h": 51.88,
    "s": 63.033,
    "l": 58.627
  },
  "oklch": {
    "l": 0.81985,
    "c": 0.13572,
    "h": 100.4
  },
  "luminance": 0.55612
}

Semantic roles & 50–950 ramp

primary
#D8C653
secondary
#3A4695
accent
#58E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C653

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

Preview Lab → · Contrast checker → · Palette generator →

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