#D2C648#D2C648

#D2C648 is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.4% C 0.144 H 103.9°. Best body text is #000000 at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#D2C648
RGBrgb(210, 198, 72)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 66%, 82%)
CMYKcmyk(0%, 5.7%, 65.7%, 17.6%)
CIE-LABlab(78.79, -10.55, 62.16)
CIE-LCHlch(78.79, 63.04, 99.63°)
OKLaboklab(81.35% -0.0346 0.1401)
OKLCHoklch(81.35% 0.144 103.9)
XYZxyz(47.9440, 54.5595, 14.1352)
Luminance0.5456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C648 #4854D2
analogous
#D28148 #D2C648 #99D248
triadic
#D2C648 #48D2C6 #C648D2
tetradic
#D2C648 #48D281 #4854D2 #D24899
square
#D2C648 #48D281 #4854D2 #D24899
split-complementary
#D2C648 #4899D2 #8148D2
monochromatic
#807820 #B1A62C #D2C648 #DED579 #EAE5AA

Accessibility & contrast

On white

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

On black

11.91
#D2C648 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C648
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C648#FFFFFF#000000##000000
##D2C6481.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C037
Deuteranopia (green-blind)
#DBC650
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c648;
/* rgb */ color: rgb(210, 198, 72);
/* oklch */ color: oklch(81.4% 0.144 103.9);
Tailwind
colors: {
  custom: {
    50: '#e3d781',
    500: '#d2c648',
    950: '#000000',
  },
}
SCSS
$custom: #d2c648;
$custom-light: #e3d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c648",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 72
  },
  "hsl": {
    "h": 54.783,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.81351,
    "c": 0.14432,
    "h": 103.9
  },
  "luminance": 0.54558
}

Semantic roles & 50–950 ramp

primary
#D2C648
secondary
#373E87
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C648

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

Preview Lab → · Contrast checker → · Palette generator →

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