#D9CC53#D9CC53

#D9CC53 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.141 H 103.2°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D9CC53
RGBrgb(217, 204, 83)
HSLhsl(54, 64%, 59%)
HSVhsv(54, 62%, 85%)
CMYKcmyk(0%, 6%, 61.8%, 14.9%)
CIE-LABlab(81.05, -9.99, 60.15)
CIE-LCHlch(81.05, 60.97, 99.43°)
OKLaboklab(83.32% -0.0322 0.1373)
OKLCHoklch(83.32% 0.141 103.2)
XYZxyz(51.7714, 58.5639, 16.7588)
Luminance0.5856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC53 #5360D9
analogous
#D98953 #D9CC53 #A3D953
triadic
#D9CC53 #53D9CC #CC53D9
tetradic
#D9CC53 #53D989 #5360D9 #D953A3
square
#D9CC53 #53D989 #5360D9 #D953A3
split-complementary
#D9CC53 #53A3D9 #8953D9
monochromatic
#918620 #C4B52B #D9CC53 #E4DB85 #EFEAB7

Accessibility & contrast

On white

1.65
#D9CC53 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D9CC53 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC53
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC53#FFFFFF#000000##000000
##D9CC531.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC645
Deuteranopia (green-blind)
#E1CC5A
Tritanopia (blue-blind)
#E8BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc53;
/* rgb */ color: rgb(217, 204, 83);
/* oklch */ color: oklch(83.3% 0.141 103.2);
Tailwind
colors: {
  custom: {
    50: '#e8db88',
    500: '#d9cc53',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc53;
$custom-light: #e8db88;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc53",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 83
  },
  "hsl": {
    "h": 54.179,
    "s": 63.81,
    "l": 58.824
  },
  "oklch": {
    "l": 0.83322,
    "c": 0.14104,
    "h": 103.2
  },
  "luminance": 0.58562
}

Semantic roles & 50–950 ramp

primary
#D9CC53
secondary
#3A4397
accent
#51E741
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC53

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

Preview Lab → · Contrast checker → · Palette generator →

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