#D3CA51#D3CA51

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

Color values

HEX#D3CA51
RGBrgb(211, 202, 81)
HSLhsl(56, 60%, 57%)
HSVhsv(56, 62%, 83%)
CMYKcmyk(0%, 4.3%, 61.6%, 17.3%)
CIE-LABlab(80.00, -11.60, 59.72)
CIE-LCHlch(80.00, 60.84, 101.00°)
OKLaboklab(82.36% -0.0366 0.1363)
OKLCHoklch(82.36% 0.141 105.1)
XYZxyz(49.4714, 56.6857, 16.1185)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA51 #515AD3
analogous
#D38951 #D3CA51 #9BD351
triadic
#D3CA51 #51D3CA #CA51D3
tetradic
#D3CA51 #51D389 #515AD3 #D3519B
square
#D3CA51 #51D389 #515AD3 #D3519B
split-complementary
#D3CA51 #519BD3 #8951D3
monochromatic
#878022 #B8AF2F #D3CA51 #DFD982 #ECE8B3

Accessibility & contrast

On white

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

On black

12.34
#D3CA51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CA51
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CA51#FFFFFF#000000##000000
##D3CA511.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3ca51;
/* rgb */ color: rgb(211, 202, 81);
/* oklch */ color: oklch(82.4% 0.141 105.1);
Tailwind
colors: {
  custom: {
    50: '#e3d987',
    500: '#d3ca51',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca51;
$custom-light: #e3d987;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca51",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 81
  },
  "hsl": {
    "h": 55.846,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82361,
    "c": 0.14112,
    "h": 105.1
  },
  "luminance": 0.56684
}

Semantic roles & 50–950 ramp

primary
#D3CA51
secondary
#3A408E
accent
#50E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CA51

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

Preview Lab → · Contrast checker → · Palette generator →

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