#D9CA51#D9CA51

#D9CA51 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.141 H 102.3°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D9CA51
RGBrgb(217, 202, 81)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 63%, 85%)
CMYKcmyk(0%, 6.9%, 62.7%, 14.9%)
CIE-LABlab(80.51, -9.10, 60.42)
CIE-LCHlch(80.51, 61.10, 98.56°)
OKLaboklab(82.89% -0.0299 0.1376)
OKLCHoklch(82.89% 0.141 102.3)
XYZxyz(51.2230, 57.5889, 16.2006)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA51 #5160D9
analogous
#D98651 #D9CA51 #A4D951
triadic
#D9CA51 #51D9CA #CA51D9
tetradic
#D9CA51 #51D986 #5160D9 #D951A4
square
#D9CA51 #51D986 #5160D9 #D951A4
split-complementary
#D9CA51 #51A4D9 #8651D9
monochromatic
#90841F #C2B22A #D9CA51 #E4D983 #EFE9B5

Accessibility & contrast

On white

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

On black

12.52
#D9CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA51
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA51#FFFFFF#000000##000000
##D9CA511.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E9BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca51;
/* rgb */ color: rgb(217, 202, 81);
/* oklch */ color: oklch(82.9% 0.141 102.3);
Tailwind
colors: {
  custom: {
    50: '#e8d987',
    500: '#d9ca51',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca51;
$custom-light: #e8d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca51",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 53.382,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82886,
    "c": 0.14081,
    "h": 102.3
  },
  "luminance": 0.57587
}

Semantic roles & 50–950 ramp

primary
#D9CA51
secondary
#394395
accent
#53E741
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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