#D3CC51#D3CC51

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

Color values

HEX#D3CC51
RGBrgb(211, 204, 81)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 62%, 83%)
CMYKcmyk(0%, 3.3%, 61.6%, 17.3%)
CIE-LABlab(80.53, -12.61, 60.29)
CIE-LCHlch(80.53, 61.60, 101.82°)
OKLaboklab(82.78% -0.0395 0.1375)
OKLCHoklch(82.78% 0.143 106)
XYZxyz(49.9438, 57.6304, 16.2759)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC51 #5158D3
analogous
#D38B51 #D3CC51 #99D351
triadic
#D3CC51 #51D3CC #CC51D3
tetradic
#D3CC51 #51D38B #5158D3 #D35199
square
#D3CC51 #51D38B #5158D3 #D35199
split-complementary
#D3CC51 #5199D3 #8B51D3
monochromatic
#878222 #B8B12F #D3CC51 #DFDA82 #ECE9B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC51#FFFFFF#000000##000000
##D3CC511.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)
#DCC542
Deuteranopia (green-blind)
#DFCA58
Tritanopia (blue-blind)
#E2BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc51;
/* rgb */ color: rgb(211, 204, 81);
/* oklch */ color: oklch(82.8% 0.143 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3db87',
    500: '#d3cc51',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc51;
$custom-light: #e3db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc51",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 81
  },
  "hsl": {
    "h": 56.769,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82783,
    "c": 0.14306,
    "h": 106
  },
  "luminance": 0.57629
}

Semantic roles & 50–950 ramp

primary
#D3CC51
secondary
#3A3F8E
accent
#4DE345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CC51

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

Preview Lab → · Contrast checker → · Palette generator →

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