#D3CA4F#D3CA4F

#D3CA4F is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.143 H 105.1°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#D3CA4F
RGBrgb(211, 202, 79)
HSLhsl(56, 60%, 57%)
HSVhsv(56, 63%, 83%)
CMYKcmyk(0%, 4.3%, 62.6%, 17.3%)
CIE-LABlab(79.99, -11.73, 60.55)
CIE-LCHlch(79.99, 61.68, 100.97°)
OKLaboklab(82.34% -0.0372 0.1378)
OKLCHoklch(82.34% 0.143 105.1)
XYZxyz(49.3976, 56.6562, 15.7293)
Luminance0.5665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA4F #4F58D3
analogous
#D3884F #D3CA4F #9AD34F
triadic
#D3CA4F #4FD3CA #CA4FD3
tetradic
#D3CA4F #4FD388 #4F58D3 #D34F9A
square
#D3CA4F #4FD388 #4F58D3 #D34F9A
split-complementary
#D3CA4F #4F9AD3 #884FD3
monochromatic
#867F22 #B7AE2E #D3CA4F #DFD980 #EBE7B1

Accessibility & contrast

On white

1.70
#D3CA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#D3CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA4F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA4F#FFFFFF#000000##000000
##D3CA4F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DEC956
Tritanopia (blue-blind)
#E2BDB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca4f;
/* rgb */ color: rgb(211, 202, 79);
/* oklch */ color: oklch(82.3% 0.143 105.1);
Tailwind
colors: {
  custom: {
    50: '#e4d986',
    500: '#d3ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca4f;
$custom-light: #e4d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca4f",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 55.909,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82342,
    "c": 0.1427,
    "h": 105.1
  },
  "luminance": 0.56654
}

Semantic roles & 50–950 ramp

primary
#D3CA4F
secondary
#393F8D
accent
#4FE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D3CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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