#D3C552#D3C552

#D3C552 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.3% C 0.136 H 102.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D3C552
RGBrgb(211, 197, 82)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 61%, 83%)
CMYKcmyk(0%, 6.6%, 61.1%, 17.3%)
CIE-LABlab(78.69, -9.00, 57.87)
CIE-LCHlch(78.69, 58.56, 98.84°)
OKLaboklab(81.32% -0.0291 0.1325)
OKLCHoklch(81.32% 0.136 102.4)
XYZxyz(48.3550, 54.3925, 15.9327)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C552 #5260D3
analogous
#D38452 #D3C552 #A1D352
triadic
#D3C552 #52D3C5 #C552D3
tetradic
#D3C552 #52D384 #5260D3 #D352A1
square
#D3C552 #52D384 #5260D3 #D352A1
split-complementary
#D3C552 #52A1D3 #8452D3
monochromatic
#887D23 #B9AA2F #D3C552 #DFD583 #ECE6B4

Accessibility & contrast

On white

1.77
#D3C552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.88
#D3C552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C552
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C552#FFFFFF#000000##000000
##D3C5521.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#DAC658
Tritanopia (blue-blind)
#E2B8AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c552;
/* rgb */ color: rgb(211, 197, 82);
/* oklch */ color: oklch(81.3% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e3d687',
    500: '#d3c552',
    950: '#000000',
  },
}
SCSS
$custom: #d3c552;
$custom-light: #e3d687;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c552",
  "rgb": {
    "r": 211,
    "g": 197,
    "b": 82
  },
  "hsl": {
    "h": 53.488,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.81321,
    "c": 0.13565,
    "h": 102.4
  },
  "luminance": 0.54391
}

Semantic roles & 50–950 ramp

primary
#D3C552
secondary
#3B448E
accent
#56E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C552

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

Preview Lab → · Contrast checker → · Palette generator →

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