#D9CA56#D9CA56

#D9CA56 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.137 H 102.0°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D9CA56
RGBrgb(217, 202, 86)
HSLhsl(53, 63%, 59%)
HSVhsv(53, 60%, 85%)
CMYKcmyk(0%, 6.9%, 60.4%, 14.9%)
CIE-LABlab(80.55, -8.77, 58.30)
CIE-LCHlch(80.55, 58.96, 98.56°)
OKLaboklab(82.93% -0.0284 0.1338)
OKLCHoklch(82.93% 0.137 102)
XYZxyz(51.4174, 57.6667, 17.2247)
Luminance0.5766 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA56 #5665D9
analogous
#D98956 #D9CA56 #A7D956
triadic
#D9CA56 #56D9CA #CA56D9
tetradic
#D9CA56 #56D989 #5665D9 #D956A7
square
#D9CA56 #56D989 #5665D9 #D956A7
split-complementary
#D9CA56 #56A7D9 #8956D9
monochromatic
#938621 #C5B42C #D9CA56 #E4DA88 #EFE9BA

Accessibility & contrast

On white

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

On black

12.53
#D9CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA56
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA56#FFFFFF#000000##000000
##D9CA561.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#E8BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca56;
/* rgb */ color: rgb(217, 202, 86);
/* oklch */ color: oklch(82.9% 0.137 102.0);
Tailwind
colors: {
  custom: {
    50: '#e8d98a',
    500: '#d9ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca56;
$custom-light: #e8d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca56",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 53.13,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82934,
    "c": 0.13679,
    "h": 102
  },
  "luminance": 0.57665
}

Semantic roles & 50–950 ramp

primary
#D9CA56
secondary
#3B4698
accent
#54E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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