#D3C652#D3C652

#D3C652 is a light, vivid yellow. Relative luminance 0.548; OKLCH L 81.5% C 0.137 H 102.9°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D3C652
RGBrgb(211, 198, 82)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 61%, 83%)
CMYKcmyk(0%, 6.2%, 61.1%, 17.3%)
CIE-LABlab(78.95, -9.51, 58.15)
CIE-LCHlch(78.95, 58.93, 99.28°)
OKLaboklab(81.53% -0.0306 0.1331)
OKLCHoklch(81.53% 0.137 102.9)
XYZxyz(48.5828, 54.8481, 16.0086)
Luminance0.5485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3C652 #525FD3
analogous
#D38552 #D3C652 #A0D352
triadic
#D3C652 #52D3C6 #C652D3
tetradic
#D3C652 #52D385 #525FD3 #D352A0
square
#D3C652 #52D385 #525FD3 #D352A0
split-complementary
#D3C652 #52A0D3 #8552D3
monochromatic
#887E23 #B9AB2F #D3C652 #DFD683 #ECE6B4

Accessibility & contrast

On white

1.75
#D3C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D3C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3C652
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3C652#FFFFFF#000000##000000
##D3C6521.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C045
Deuteranopia (green-blind)
#DBC658
Tritanopia (blue-blind)
#E2B9AD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d3c652;
/* rgb */ color: rgb(211, 198, 82);
/* oklch */ color: oklch(81.5% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#e3d787',
    500: '#d3c652',
    950: '#000000',
  },
}
SCSS
$custom: #d3c652;
$custom-light: #e3d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d3c652",
  "rgb": {
    "r": 211,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 53.953,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8153,
    "c": 0.13657,
    "h": 102.9
  },
  "luminance": 0.54846
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D3C652

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

Preview Lab → · Contrast checker → · Palette generator →

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