#D8C635#D8C635

#D8C635 is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.156 H 101.9°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D8C635
RGBrgb(216, 198, 53)
HSLhsl(53, 68%, 53%)
HSVhsv(53, 75%, 85%)
CMYKcmyk(0%, 8.3%, 75.5%, 15.3%)
CIE-LABlab(79.18, -8.92, 69.73)
CIE-LCHlch(79.18, 70.30, 97.29°)
OKLaboklab(81.75% -0.0322 0.1526)
OKLCHoklch(81.75% 0.156 101.9)
XYZxyz(49.1579, 55.2464, 11.4417)
Luminance0.5524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8C635 #3547D8
analogous
#D87435 #D8C635 #99D835
triadic
#D8C635 #35D8C6 #C635D8
tetradic
#D8C635 #35D874 #3547D8 #D83599
square
#D8C635 #35D874 #3547D8 #D83599
split-complementary
#D8C635 #3599D8 #7435D8
monochromatic
#7B7018 #AE9F22 #D8C635 #E2D468 #ECE39C

Accessibility & contrast

On white

1.74
#D8C635 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D8C635 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8C635
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8C635#FFFFFF#000000##000000
##D8C6351.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C015
Deuteranopia (green-blind)
#DEC740
Tritanopia (blue-blind)
#E9B8AA
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d8c635;
/* rgb */ color: rgb(216, 198, 53);
/* oklch */ color: oklch(81.8% 0.156 101.9);
Tailwind
colors: {
  custom: {
    50: '#e8d677',
    500: '#d8c635',
    950: '#000000',
  },
}
SCSS
$custom: #d8c635;
$custom-light: #e8d677;
$custom-dark: #000000;
JSON
{
  "hex": "#d8c635",
  "rgb": {
    "r": 216,
    "g": 198,
    "b": 53
  },
  "hsl": {
    "h": 53.374,
    "s": 67.635,
    "l": 52.745
  },
  "oklch": {
    "l": 0.81751,
    "c": 0.15598,
    "h": 101.9
  },
  "luminance": 0.55244
}

Semantic roles & 50–950 ramp

primary
#D8C635
secondary
#2F3883
accent
#50EB3D
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171409
muted
#85837D

Preview Lab

Preview with #D8C635

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

Preview Lab → · Contrast checker → · Palette generator →

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