#D3CC4E#D3CC4E

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

Color values

HEX#D3CC4E
RGBrgb(211, 204, 78)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 63%, 83%)
CMYKcmyk(0%, 3.3%, 63%, 17.3%)
CIE-LABlab(80.51, -12.80, 61.53)
CIE-LCHlch(80.51, 62.84, 101.76°)
OKLaboklab(82.76% -0.0404 0.1397)
OKLCHoklch(82.76% 0.145 106.1)
XYZxyz(49.8337, 57.5863, 15.6965)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC4E #4E55D3
analogous
#D38A4E #D3CC4E #98D34E
triadic
#D3CC4E #4ED3CC #CC4ED3
tetradic
#D3CC4E #4ED38A #4E55D3 #D34E98
square
#D3CC4E #4ED38A #4E55D3 #D34E98
split-complementary
#D3CC4E #4E98D3 #8A4ED3
monochromatic
#858021 #B6AF2D #D3CC4E #DFDA7F #EBE8B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC4E#FFFFFF#000000##000000
##D3CC4E1.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)
#DCC53E
Deuteranopia (green-blind)
#DFCA56
Tritanopia (blue-blind)
#E2BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc4e;
/* rgb */ color: rgb(211, 204, 78);
/* oklch */ color: oklch(82.8% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e4db85',
    500: '#d3cc4e',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc4e;
$custom-light: #e4db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc4e",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 78
  },
  "hsl": {
    "h": 56.842,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.82756,
    "c": 0.14539,
    "h": 106.1
  },
  "luminance": 0.57585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3CC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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