#D2C652#D2C652

#D2C652 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.4% C 0.137 H 103.4°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#D2C652
RGBrgb(210, 198, 82)
HSLhsl(54, 59%, 57%)
HSVhsv(54, 61%, 82%)
CMYKcmyk(0%, 5.7%, 61%, 17.6%)
CIE-LABlab(78.87, -9.92, 58.04)
CIE-LCHlch(78.87, 58.88, 99.70°)
OKLaboklab(81.44% -0.0317 0.1329)
OKLCHoklch(81.44% 0.137 103.4)
XYZxyz(48.2972, 54.7008, 15.9952)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C652 #525ED2
analogous
#D28652 #D2C652 #9ED252
triadic
#D2C652 #52D2C6 #C652D2
tetradic
#D2C652 #52D286 #525ED2 #D2529E
square
#D2C652 #52D286 #525ED2 #D2529E
split-complementary
#D2C652 #529ED2 #8652D2
monochromatic
#877D23 #B7AA30 #D2C652 #DFD683 #EBE6B3

Accessibility & contrast

On white

1.76
#D2C652 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#D2C652 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C652
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C652#FFFFFF#000000##000000
##D2C6521.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c652;
/* rgb */ color: rgb(210, 198, 82);
/* oklch */ color: oklch(81.4% 0.137 103.4);
Tailwind
colors: {
  custom: {
    50: '#e3d787',
    500: '#d2c652',
    950: '#000000',
  },
}
SCSS
$custom: #d2c652;
$custom-light: #e3d787;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c652",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 82
  },
  "hsl": {
    "h": 54.375,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81442,
    "c": 0.1366,
    "h": 103.4
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#D2C652
secondary
#3B438D
accent
#55E246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2C652

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

Preview Lab → · Contrast checker → · Palette generator →

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