#D2C646#D2C646

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

Color values

HEX#D2C646
RGBrgb(210, 198, 70)
HSLhsl(55, 61%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.7%, 66.7%, 17.6%)
CIE-LABlab(78.77, -10.66, 62.94)
CIE-LCHlch(78.77, 63.84, 99.61°)
OKLaboklab(81.33% -0.0351 0.1415)
OKLCHoklch(81.33% 0.146 103.9)
XYZxyz(47.8798, 54.5338, 13.7972)
Luminance0.5453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C646 #4652D2
analogous
#D28046 #D2C646 #98D246
triadic
#D2C646 #46D2C6 #C646D2
tetradic
#D2C646 #46D280 #4652D2 #D24698
square
#D2C646 #46D280 #4652D2 #D24698
split-complementary
#D2C646 #4698D2 #8046D2
monochromatic
#7F771F #B0A52B #D2C646 #DED577 #EAE4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C646#FFFFFF#000000##000000
##D2C6461.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)
#D7BF34
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#E1B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d2c646;
/* rgb */ color: rgb(210, 198, 70);
/* oklch */ color: oklch(81.3% 0.146 103.9);
Tailwind
colors: {
  custom: {
    50: '#e3d780',
    500: '#d2c646',
    950: '#000000',
  },
}
SCSS
$custom: #d2c646;
$custom-light: #e3d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c646",
  "rgb": {
    "r": 210,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 54.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81334,
    "c": 0.14575,
    "h": 103.9
  },
  "luminance": 0.54532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C646

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

Preview Lab → · Contrast checker → · Palette generator →

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