#D3CC4A#D3CC4A

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

Color values

HEX#D3CC4A
RGBrgb(211, 204, 74)
HSLhsl(57, 61%, 56%)
HSVhsv(57, 65%, 83%)
CMYKcmyk(0%, 3.3%, 64.9%, 17.3%)
CIE-LABlab(80.48, -13.05, 63.13)
CIE-LCHlch(80.48, 64.46, 101.68°)
OKLaboklab(82.72% -0.0415 0.1425)
OKLCHoklch(82.72% 0.148 106.2)
XYZxyz(49.6947, 57.5307, 14.9641)
Luminance0.5753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC4A #4A51D3
analogous
#D3874A #D3CC4A #95D34A
triadic
#D3CC4A #4AD3CC #CC4AD3
tetradic
#D3CC4A #4AD387 #4A51D3 #D34A95
square
#D3CC4A #4AD387 #4A51D3 #D34A95
split-complementary
#D3CC4A #4A95D3 #874AD3
monochromatic
#837E20 #B4AD2C #D3CC4A #DFDA7B #EBE8AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CC4A#FFFFFF#000000##000000
##D3CC4A1.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)
#DDC539
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#E2BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc4a;
/* rgb */ color: rgb(211, 204, 74);
/* oklch */ color: oklch(82.7% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e4db83',
    500: '#d3cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc4a;
$custom-light: #e4db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc4a",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 56.934,
    "s": 60.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82721,
    "c": 0.14838,
    "h": 106.2
  },
  "luminance": 0.57529
}

Semantic roles & 50–950 ramp

primary
#D3CC4A
secondary
#373C8A
accent
#4CE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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