#D3CC4F#D3CC4F

#D3CC4F 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#D3CC4F
RGBrgb(211, 204, 79)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 63%, 83%)
CMYKcmyk(0%, 3.3%, 62.6%, 17.3%)
CIE-LABlab(80.52, -12.74, 61.12)
CIE-LCHlch(80.52, 62.43, 101.78°)
OKLaboklab(82.77% -0.0401 0.139)
OKLCHoklch(82.77% 0.145 106.1)
XYZxyz(49.8699, 57.6008, 15.8867)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC4F #4F56D3
analogous
#D38A4F #D3CC4F #98D34F
triadic
#D3CC4F #4FD3CC #CC4FD3
tetradic
#D3CC4F #4FD38A #4F56D3 #D34F98
square
#D3CC4F #4FD38A #4F56D3 #D34F98
split-complementary
#D3CC4F #4F98D3 #8A4FD3
monochromatic
#868122 #B7B02E #D3CC4F #DFDA80 #EBE8B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #d3cc4f;
/* rgb */ color: rgb(211, 204, 79);
/* oklch */ color: oklch(82.8% 0.145 106.1);
Tailwind
colors: {
  custom: {
    50: '#e4db86',
    500: '#d3cc4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc4f;
$custom-light: #e4db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc4f",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 79
  },
  "hsl": {
    "h": 56.818,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82765,
    "c": 0.14462,
    "h": 106.1
  },
  "luminance": 0.57599
}

Semantic roles & 50–950 ramp

primary
#D3CC4F
secondary
#393E8D
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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