#D3CA47#D3CA47

#D3CA47 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.149 H 105.4°. Best body text is #000000 at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#D3CA47
RGBrgb(211, 202, 71)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 66%, 83%)
CMYKcmyk(0%, 4.3%, 66.4%, 17.3%)
CIE-LABlab(79.92, -12.21, 63.76)
CIE-LCHlch(79.92, 64.91, 100.84°)
OKLaboklab(82.27% -0.0394 0.1433)
OKLCHoklch(82.27% 0.149 105.4)
XYZxyz(49.1237, 56.5466, 14.2870)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA47 #4750D3
analogous
#D38447 #D3CA47 #96D347
triadic
#D3CA47 #47D3CA #CA47D3
tetradic
#D3CA47 #47D384 #4750D3 #D34796
square
#D3CA47 #47D384 #4750D3 #D34796
split-complementary
#D3CA47 #4796D3 #8447D3
monochromatic
#817B1F #B2A92B #D3CA47 #DFD878 #EBE6AA

Accessibility & contrast

On white

1.71
#D3CA47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D3CA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA47
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA47#FFFFFF#000000##000000
##D3CA471.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC335
Deuteranopia (green-blind)
#DEC94F
Tritanopia (blue-blind)
#E2BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca47;
/* rgb */ color: rgb(211, 202, 71);
/* oklch */ color: oklch(82.3% 0.149 105.4);
Tailwind
colors: {
  custom: {
    50: '#e4d981',
    500: '#d3ca47',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca47;
$custom-light: #e4d981;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca47",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 71
  },
  "hsl": {
    "h": 56.143,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.82273,
    "c": 0.14864,
    "h": 105.4
  },
  "luminance": 0.56545
}

Semantic roles & 50–950 ramp

primary
#D3CA47
secondary
#363B88
accent
#4EE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CA47

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

Preview Lab → · Contrast checker → · Palette generator →

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