#D2C647#D2C647

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

Color values

HEX#D2C647
RGBrgb(210, 198, 71)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 66%, 82%)
CMYKcmyk(0%, 5.7%, 66.2%, 17.6%)
CIE-LABlab(78.78, -10.60, 62.55)
CIE-LCHlch(78.78, 63.44, 99.62°)
OKLaboklab(81.34% -0.0348 0.1408)
OKLCHoklch(81.34% 0.145 103.9)
XYZxyz(47.9116, 54.5466, 13.9648)
Luminance0.5454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C647 #4753D2
analogous
#D28047 #D2C647 #99D247
triadic
#D2C647 #47D2C6 #C647D2
tetradic
#D2C647 #47D280 #4753D2 #D24799
square
#D2C647 #47D280 #4753D2 #D24799
split-complementary
#D2C647 #4799D2 #8047D2
monochromatic
#7F771F #B1A52B #D2C647 #DED578 #EAE4A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C647#FFFFFF#000000##000000
##D2C6471.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)
#D7C036
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c647;
/* rgb */ color: rgb(210, 198, 71);
/* oklch */ color: oklch(81.3% 0.145 103.9);
Tailwind
colors: {
  custom: {
    50: '#e3d781',
    500: '#d2c647',
    950: '#000000',
  },
}
SCSS
$custom: #d2c647;
$custom-light: #e3d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c647",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 54.82,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81342,
    "c": 0.14505,
    "h": 103.9
  },
  "luminance": 0.54545
}

Semantic roles & 50–950 ramp

primary
#D2C647
secondary
#363D87
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C647

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

Preview Lab → · Contrast checker → · Palette generator →

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