#D3C752#D3C752

#D3C752 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.137 H 103.5°. Best body text is #000000 at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#D3C752
RGBrgb(211, 199, 82)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 61%, 83%)
CMYKcmyk(0%, 5.7%, 61.1%, 17.3%)
CIE-LABlab(79.22, -10.02, 58.44)
CIE-LCHlch(79.22, 59.29, 99.72°)
OKLaboklab(81.74% -0.032 0.1337)
OKLCHoklch(81.74% 0.137 103.5)
XYZxyz(48.8122, 55.3067, 16.0851)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C752 #525ED3
analogous
#D38752 #D3C752 #9ED352
triadic
#D3C752 #52D3C7 #C752D3
tetradic
#D3C752 #52D387 #525ED3 #D3529E
square
#D3C752 #52D387 #525ED3 #D3529E
split-complementary
#D3C752 #529ED3 #8752D3
monochromatic
#887F23 #B9AC2F #D3C752 #DFD783 #ECE7B4

Accessibility & contrast

On white

1.74
#D3C752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.06
#D3C752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C752
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C752#FFFFFF#000000##000000
##D3C7521.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C145
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#E2BAAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d3c752;
/* rgb */ color: rgb(211, 199, 82);
/* oklch */ color: oklch(81.7% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#e3d787',
    500: '#d3c752',
    950: '#000000',
  },
}
SCSS
$custom: #d3c752;
$custom-light: #e3d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c752",
  "rgb": {
    "r": 211,
    "g": 199,
    "b": 82
  },
  "hsl": {
    "h": 54.419,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8174,
    "c": 0.13749,
    "h": 103.5
  },
  "luminance": 0.55305
}

Semantic roles & 50–950 ramp

primary
#D3C752
secondary
#3B438E
accent
#54E345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D3C752

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

Preview Lab → · Contrast checker → · Palette generator →

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