#D8C435#D8C435

#D8C435 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.3% C 0.154 H 101.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D8C435
RGBrgb(216, 196, 53)
HSLhsl(53, 68%, 53%)
HSVhsv(53, 75%, 85%)
CMYKcmyk(0%, 9.3%, 75.5%, 15.3%)
CIE-LABlab(78.66, -7.90, 69.24)
CIE-LCHlch(78.66, 69.69, 96.51°)
OKLaboklab(81.33% -0.0293 0.1516)
OKLCHoklch(81.33% 0.154 101)
XYZxyz(48.7038, 54.3381, 11.2904)
Luminance0.5434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C435 #3549D8
analogous
#D87235 #D8C435 #9AD835
triadic
#D8C435 #35D8C4 #C435D8
tetradic
#D8C435 #35D872 #3549D8 #D8359A
square
#D8C435 #35D872 #3549D8 #D8359A
split-complementary
#D8C435 #359AD8 #7235D8
monochromatic
#7B6F18 #AE9D22 #D8C435 #E2D368 #ECE29C

Accessibility & contrast

On white

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

On black

11.87
#D8C435 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C435
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C435#FFFFFF#000000##000000
##D8C4351.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE16
Deuteranopia (green-blind)
#DCC63F
Tritanopia (blue-blind)
#E9B6A9
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d8c435;
/* rgb */ color: rgb(216, 196, 53);
/* oklch */ color: oklch(81.3% 0.154 101.0);
Tailwind
colors: {
  custom: {
    50: '#e8d577',
    500: '#d8c435',
    950: '#000000',
  },
}
SCSS
$custom: #d8c435;
$custom-light: #e8d577;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c435",
  "rgb": {
    "r": 216,
    "g": 196,
    "b": 53
  },
  "hsl": {
    "h": 52.638,
    "s": 67.635,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81334,
    "c": 0.15439,
    "h": 101
  },
  "luminance": 0.54336
}

Semantic roles & 50–950 ramp

primary
#D8C435
secondary
#2F3983
accent
#53EB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D8C435

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

Preview Lab → · Contrast checker → · Palette generator →

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