#D3CA52#D3CA52

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

Color values

HEX#D3CA52
RGBrgb(211, 202, 82)
HSLhsl(56, 59%, 57%)
HSVhsv(56, 61%, 83%)
CMYKcmyk(0%, 4.3%, 61.1%, 17.3%)
CIE-LABlab(80.01, -11.54, 59.30)
CIE-LCHlch(80.01, 60.42, 101.01°)
OKLaboklab(82.37% -0.0363 0.1355)
OKLCHoklch(82.37% 0.14 105)
XYZxyz(49.5092, 56.7009, 16.3174)
Luminance0.5670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CA52 #525BD3
analogous
#D38A52 #D3CA52 #9BD352
triadic
#D3CA52 #52D3CA #CA52D3
tetradic
#D3CA52 #52D38A #525BD3 #D3529B
square
#D3CA52 #52D38A #525BD3 #D3529B
split-complementary
#D3CA52 #529BD3 #8A52D3
monochromatic
#888123 #B9AF2F #D3CA52 #DFD983 #ECE8B4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CA52#FFFFFF#000000##000000
##D3CA521.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)
#DAC344
Deuteranopia (green-blind)
#DEC959
Tritanopia (blue-blind)
#E2BDB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d3ca52;
/* rgb */ color: rgb(211, 202, 82);
/* oklch */ color: oklch(82.4% 0.140 105.0);
Tailwind
colors: {
  custom: {
    50: '#e3d988',
    500: '#d3ca52',
    950: '#000000',
  },
}
SCSS
$custom: #d3ca52;
$custom-light: #e3d988;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ca52",
  "rgb": {
    "r": 211,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 55.814,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.82371,
    "c": 0.14032,
    "h": 105
  },
  "luminance": 0.56699
}

Semantic roles & 50–950 ramp

primary
#D3CA52
secondary
#3B418E
accent
#50E345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3CA52

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

Preview Lab → · Contrast checker → · Palette generator →

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