#D8CA50#D8CA50

#D8CA50 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.142 H 102.8°. Best body text is #000000 at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#D8CA50
RGBrgb(216, 202, 80)
HSLhsl(54, 64%, 58%)
HSVhsv(54, 63%, 85%)
CMYKcmyk(0%, 6.5%, 63%, 15.3%)
CIE-LABlab(80.42, -9.58, 60.71)
CIE-LCHlch(80.42, 61.47, 98.97°)
OKLaboklab(82.79% -0.0313 0.1381)
OKLCHoklch(82.79% 0.142 102.8)
XYZxyz(50.8894, 57.4212, 15.9907)
Luminance0.5742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA50 #505ED8
analogous
#D88650 #D8CA50 #A2D850
triadic
#D8CA50 #50D8CA #CA50D8
tetradic
#D8CA50 #50D886 #505ED8 #D850A2
square
#D8CA50 #50D886 #505ED8 #D850A2
split-complementary
#D8CA50 #50A2D8 #8650D8
monochromatic
#8E8320 #C0B12B #D8CA50 #E3D982 #EEE8B4

Accessibility & contrast

On white

1.68
#D8CA50 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.48
#D8CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA50
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA50#FFFFFF#000000##000000
##D8CA501.001.6812.4812.48
#FFFFFF1.681.0021.0021.00
#00000012.4821.001.001.00
##00000012.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#E0CA57
Tritanopia (blue-blind)
#E7BDB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d8ca50;
/* rgb */ color: rgb(216, 202, 80);
/* oklch */ color: oklch(82.8% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e7d986',
    500: '#d8ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca50;
$custom-light: #e7d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca50",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 53.824,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.82788,
    "c": 0.14162,
    "h": 102.8
  },
  "luminance": 0.57419
}

Semantic roles & 50–950 ramp

primary
#D8CA50
secondary
#394294
accent
#52E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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