#D3CC4D#D3CC4D

#D3CC4D is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.146 H 106.2°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D3CC4D
RGBrgb(211, 204, 77)
HSLhsl(57, 60%, 56%)
HSVhsv(57, 64%, 83%)
CMYKcmyk(0%, 3.3%, 63.5%, 17.3%)
CIE-LABlab(80.50, -12.87, 61.93)
CIE-LCHlch(80.50, 63.25, 101.74°)
OKLaboklab(82.75% -0.0407 0.1404)
OKLCHoklch(82.75% 0.146 106.2)
XYZxyz(49.7982, 57.5721, 15.5091)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC4D #4D54D3
analogous
#D3894D #D3CC4D #97D34D
triadic
#D3CC4D #4DD3CC #CC4DD3
tetradic
#D3CC4D #4DD389 #4D54D3 #D34D97
square
#D3CC4D #4DD389 #4D54D3 #D34D97
split-complementary
#D3CC4D #4D97D3 #894DD3
monochromatic
#858021 #B6AF2D #D3CC4D #DFDA7E #EBE8AF

Accessibility & contrast

On white

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

On black

12.51
#D3CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC4D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC4D#FFFFFF#000000##000000
##D3CC4D1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC53D
Deuteranopia (green-blind)
#E0CA55
Tritanopia (blue-blind)
#E2BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc4d;
/* rgb */ color: rgb(211, 204, 77);
/* oklch */ color: oklch(82.7% 0.146 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4db85',
    500: '#d3cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc4d;
$custom-light: #e4db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc4d",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 56.866,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.82747,
    "c": 0.14615,
    "h": 106.2
  },
  "luminance": 0.5757
}

Semantic roles & 50–950 ramp

primary
#D3CC4D
secondary
#393D8C
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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