#D3CC52#D3CC52

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

Color values

HEX#D3CC52
RGBrgb(211, 204, 82)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 61%, 83%)
CMYKcmyk(0%, 3.3%, 61.1%, 17.3%)
CIE-LABlab(80.54, -12.55, 59.88)
CIE-LCHlch(80.54, 61.18, 101.84°)
OKLaboklab(82.79% -0.0392 0.1368)
OKLCHoklch(82.79% 0.142 106)
XYZxyz(49.9815, 57.6455, 16.4749)
Luminance0.5764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC52 #5259D3
analogous
#D38B52 #D3CC52 #9AD352
triadic
#D3CC52 #52D3CC #CC52D3
tetradic
#D3CC52 #52D38B #5259D3 #D3529A
square
#D3CC52 #52D38B #5259D3 #D3529A
split-complementary
#D3CC52 #529AD3 #8B52D3
monochromatic
#888323 #B9B12F #D3CC52 #DFDA83 #ECE9B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC52#FFFFFF#000000##000000
##D3CC521.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)
#DCC544
Deuteranopia (green-blind)
#DFCA59
Tritanopia (blue-blind)
#E1BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc52;
/* rgb */ color: rgb(211, 204, 82);
/* oklch */ color: oklch(82.8% 0.142 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3db88',
    500: '#d3cc52',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc52;
$custom-light: #e3db88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc52",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 56.744,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82793,
    "c": 0.14226,
    "h": 106
  },
  "luminance": 0.57644
}

Semantic roles & 50–950 ramp

primary
#D3CC52
secondary
#3B3F8E
accent
#4EE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC52

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

Preview Lab → · Contrast checker → · Palette generator →

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