#D9CA52#D9CA52

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

Color values

HEX#D9CA52
RGBrgb(217, 202, 82)
HSLhsl(53, 64%, 59%)
HSVhsv(53, 62%, 85%)
CMYKcmyk(0%, 6.9%, 62.2%, 14.9%)
CIE-LABlab(80.52, -9.03, 60.00)
CIE-LCHlch(80.52, 60.68, 98.56°)
OKLaboklab(82.9% -0.0296 0.1369)
OKLCHoklch(82.9% 0.14 102.2)
XYZxyz(51.2608, 57.6040, 16.3995)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA52 #5261D9
analogous
#D98652 #D9CA52 #A4D952
triadic
#D9CA52 #52D9CA #CA52D9
tetradic
#D9CA52 #52D986 #5261D9 #D952A4
square
#D9CA52 #52D986 #5261D9 #D952A4
split-complementary
#D9CA52 #52A4D9 #8652D9
monochromatic
#918420 #C3B22B #D9CA52 #E4D984 #EFE9B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CA52#FFFFFF#000000##000000
##D9CA521.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)
#DBC444
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E8BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca52;
/* rgb */ color: rgb(217, 202, 82);
/* oklch */ color: oklch(82.9% 0.140 102.2);
Tailwind
colors: {
  custom: {
    50: '#e8d988',
    500: '#d9ca52',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca52;
$custom-light: #e8d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca52",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 53.333,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82895,
    "c": 0.14002,
    "h": 102.2
  },
  "luminance": 0.57602
}

Semantic roles & 50–950 ramp

primary
#D9CA52
secondary
#394496
accent
#53E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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