#D3C352#D3C352

#D3C352 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.9% C 0.134 H 101.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D3C352
RGBrgb(211, 195, 82)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 61%, 83%)
CMYKcmyk(0%, 7.6%, 61.1%, 17.3%)
CIE-LABlab(78.16, -7.97, 57.29)
CIE-LCHlch(78.16, 57.84, 97.92°)
OKLaboklab(80.9% -0.0262 0.1313)
OKLCHoklch(80.9% 0.134 101.3)
XYZxyz(47.9039, 53.4902, 15.7823)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C352 #5262D3
analogous
#D38252 #D3C352 #A3D352
triadic
#D3C352 #52D3C3 #C352D3
tetradic
#D3C352 #52D382 #5262D3 #D352A3
square
#D3C352 #52D382 #5262D3 #D352A3
split-complementary
#D3C352 #52A3D3 #8252D3
monochromatic
#887B23 #B9A82F #D3C352 #DFD483 #ECE5B4

Accessibility & contrast

On white

1.80
#D3C352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D3C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C352
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C352#FFFFFF#000000##000000
##D3C3521.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#E2B6AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d3c352;
/* rgb */ color: rgb(211, 195, 82);
/* oklch */ color: oklch(80.9% 0.134 101.3);
Tailwind
colors: {
  custom: {
    50: '#e3d487',
    500: '#d3c352',
    950: '#000000',
  },
}
SCSS
$custom: #d3c352;
$custom-light: #e3d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c352",
  "rgb": {
    "r": 211,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 52.558,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80903,
    "c": 0.13385,
    "h": 101.3
  },
  "luminance": 0.53488
}

Semantic roles & 50–950 ramp

primary
#D3C352
secondary
#3B458E
accent
#59E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C352

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

Preview Lab → · Contrast checker → · Palette generator →

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