#D3C852#D3C852

#D3C852 is a light, vivid yellow. Relative luminance 0.558; OKLCH L 82.0% C 0.138 H 104.0°. Best body text is #000000 at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#D3C852
RGBrgb(211, 200, 82)
HSLhsl(55, 59%, 57%)
HSVhsv(55, 61%, 83%)
CMYKcmyk(0%, 5.2%, 61.1%, 17.3%)
CIE-LABlab(79.48, -10.52, 58.73)
CIE-LCHlch(79.48, 59.66, 100.16°)
OKLaboklab(81.95% -0.0335 0.1343)
OKLCHoklch(81.95% 0.138 104)
XYZxyz(49.0430, 55.7684, 16.1620)
Luminance0.5577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C852 #525DD3
analogous
#D38852 #D3C852 #9DD352
triadic
#D3C852 #52D3C8 #C852D3
tetradic
#D3C852 #52D388 #525DD3 #D3529D
square
#D3C852 #52D388 #525DD3 #D3529D
split-complementary
#D3C852 #529DD3 #8852D3
monochromatic
#887F23 #B9AD2F #D3C852 #DFD883 #ECE7B4

Accessibility & contrast

On white

1.73
#D3C852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.15
#D3C852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C852
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C852#FFFFFF#000000##000000
##D3C8521.001.7312.1512.15
#FFFFFF1.731.0021.0021.00
#00000012.1521.001.001.00
##00000012.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C244
Deuteranopia (green-blind)
#DCC859
Tritanopia (blue-blind)
#E2BBAF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d3c852;
/* rgb */ color: rgb(211, 200, 82);
/* oklch */ color: oklch(82.0% 0.138 104.0);
Tailwind
colors: {
  custom: {
    50: '#e3d887',
    500: '#d3c852',
    950: '#000000',
  },
}
SCSS
$custom: #d3c852;
$custom-light: #e3d887;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c852",
  "rgb": {
    "r": 211,
    "g": 200,
    "b": 82
  },
  "hsl": {
    "h": 54.884,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8195,
    "c": 0.13843,
    "h": 104
  },
  "luminance": 0.55767
}

Semantic roles & 50–950 ramp

primary
#D3C852
secondary
#3B428E
accent
#53E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C852

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

Preview Lab → · Contrast checker → · Palette generator →

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