#D3CC47#D3CC47

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

Color values

HEX#D3CC47
RGBrgb(211, 204, 71)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 3.3%, 66.4%, 17.3%)
CIE-LABlab(80.46, -13.22, 64.30)
CIE-LCHlch(80.46, 65.64, 101.62°)
OKLaboklab(82.7% -0.0423 0.1445)
OKLCHoklch(82.7% 0.151 106.3)
XYZxyz(49.5960, 57.4913, 14.4444)
Luminance0.5749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CC47 #474ED3
analogous
#D38647 #D3CC47 #94D347
triadic
#D3CC47 #47D3CC #CC47D3
tetradic
#D3CC47 #47D386 #474ED3 #D34794
square
#D3CC47 #47D386 #474ED3 #D34794
split-complementary
#D3CC47 #4794D3 #8647D3
monochromatic
#817C1F #B2AB2B #D3CC47 #DFDA78 #EBE7AA

Accessibility & contrast

On white

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

On black

12.50
#D3CC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CC47
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CC47#FFFFFF#000000##000000
##D3CC471.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC534
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#E2BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cc47;
/* rgb */ color: rgb(211, 204, 71);
/* oklch */ color: oklch(82.7% 0.151 106.3);
Tailwind
colors: {
  custom: {
    50: '#e4db81',
    500: '#d3cc47',
    950: '#000000',
  },
}
SCSS
$custom: #d3cc47;
$custom-light: #e4db81;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cc47",
  "rgb": {
    "r": 211,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 57,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82696,
    "c": 0.15052,
    "h": 106.3
  },
  "luminance": 0.5749
}

Semantic roles & 50–950 ramp

primary
#D3CC47
secondary
#363A88
accent
#4BE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CC47

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

Preview Lab → · Contrast checker → · Palette generator →

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