#D2C352#D2C352

#D2C352 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.8% C 0.134 H 101.8°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#D2C352
RGBrgb(210, 195, 82)
HSLhsl(53, 59%, 57%)
HSVhsv(53, 61%, 82%)
CMYKcmyk(0%, 7.1%, 61%, 17.6%)
CIE-LABlab(78.08, -8.39, 57.17)
CIE-LCHlch(78.08, 57.78, 98.35°)
OKLaboklab(80.81% -0.0273 0.131)
OKLCHoklch(80.81% 0.134 101.8)
XYZxyz(47.6182, 53.3429, 15.7689)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C352 #5261D2
analogous
#D28352 #D2C352 #A1D252
triadic
#D2C352 #52D2C3 #C352D2
tetradic
#D2C352 #52D283 #5261D2 #D252A1
square
#D2C352 #52D283 #5261D2 #D252A1
split-complementary
#D2C352 #52A1D2 #8352D2
monochromatic
#877B23 #B7A730 #D2C352 #DFD483 #EBE5B3

Accessibility & contrast

On white

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

On black

11.67
#D2C352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C352
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C352#FFFFFF#000000##000000
##D2C3521.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c352;
/* rgb */ color: rgb(210, 195, 82);
/* oklch */ color: oklch(80.8% 0.134 101.8);
Tailwind
colors: {
  custom: {
    50: '#e3d487',
    500: '#d2c352',
    950: '#000000',
  },
}
SCSS
$custom: #d2c352;
$custom-light: #e3d487;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c352",
  "rgb": {
    "r": 210,
    "g": 195,
    "b": 82
  },
  "hsl": {
    "h": 52.969,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80813,
    "c": 0.13385,
    "h": 101.8
  },
  "luminance": 0.53341
}

Semantic roles & 50–950 ramp

primary
#D2C352
secondary
#3B458D
accent
#58E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C352

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

Preview Lab → · Contrast checker → · Palette generator →

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