#D8C357#D8C357

#D8C357 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.130 H 98.4°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#D8C357
RGBrgb(216, 195, 87)
HSLhsl(50, 62%, 59%)
HSVhsv(50, 60%, 85%)
CMYKcmyk(0%, 9.7%, 59.7%, 15.3%)
CIE-LABlab(78.65, -5.53, 55.73)
CIE-LCHlch(78.65, 56.00, 95.67°)
OKLaboklab(81.41% -0.0189 0.1285)
OKLCHoklch(81.41% 0.13 98.4)
XYZxyz(49.5563, 54.3194, 16.8893)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C357 #576CD8
analogous
#D88357 #D8C357 #ACD857
triadic
#D8C357 #57D8C3 #C357D8
tetradic
#D8C357 #57D883 #576CD8 #D857AC
square
#D8C357 #57D883 #576CD8 #D857AC
split-complementary
#D8C357 #57ACD8 #8357D8
monochromatic
#938022 #C4AC2E #D8C357 #E4D589 #EFE6BA

Accessibility & contrast

On white

1.77
#D8C357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#D8C357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C357
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C357#FFFFFF#000000##000000
##D8C3571.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE4C
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E8B6AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c357;
/* rgb */ color: rgb(216, 195, 87);
/* oklch */ color: oklch(81.4% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#e7d48a',
    500: '#d8c357',
    950: '#000000',
  },
}
SCSS
$custom: #d8c357;
$custom-light: #e7d48a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c357",
  "rgb": {
    "r": 216,
    "g": 195,
    "b": 87
  },
  "hsl": {
    "h": 50.233,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.81405,
    "c": 0.12986,
    "h": 98.4
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

primary
#D8C357
secondary
#3C4B98
accent
#5DE542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8C357

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

Preview Lab → · Contrast checker → · Palette generator →

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