#D2C446#D2C446

#D2C446 is a light, vivid yellow. Relative luminance 0.536; OKLCH L 80.9% C 0.144 H 102.9°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#D2C446
RGBrgb(210, 196, 70)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.7%, 66.7%, 17.6%)
CIE-LABlab(78.24, -9.64, 62.40)
CIE-LCHlch(78.24, 63.14, 98.78°)
OKLaboklab(80.91% -0.0322 0.1403)
OKLCHoklch(80.91% 0.144 102.9)
XYZxyz(47.4257, 53.6256, 13.6458)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C446 #4654D2
analogous
#D27E46 #D2C446 #9AD246
triadic
#D2C446 #46D2C4 #C446D2
tetradic
#D2C446 #46D27E #4654D2 #D2469A
square
#D2C446 #46D27E #4654D2 #D2469A
split-complementary
#D2C446 #469AD2 #7E46D2
monochromatic
#7F751F #B0A32B #D2C446 #DED477 #EAE3A8

Accessibility & contrast

On white

1.79
#D2C446 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#D2C446 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C446
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C446#FFFFFF#000000##000000
##D2C4461.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE35
Deuteranopia (green-blind)
#DAC44E
Tritanopia (blue-blind)
#E1B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c446;
/* rgb */ color: rgb(210, 196, 70);
/* oklch */ color: oklch(80.9% 0.144 102.9);
Tailwind
colors: {
  custom: {
    50: '#e3d580',
    500: '#d2c446',
    950: '#000000',
  },
}
SCSS
$custom: #d2c446;
$custom-light: #e3d580;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c446",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 70
  },
  "hsl": {
    "h": 54,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80914,
    "c": 0.14397,
    "h": 102.9
  },
  "luminance": 0.53624
}

Semantic roles & 50–950 ramp

primary
#D2C446
secondary
#363E86
accent
#54E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C446

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

Preview Lab → · Contrast checker → · Palette generator →

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