#D2C447#D2C447

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

Color values

HEX#D2C447
RGBrgb(210, 196, 71)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.7%, 66.2%, 17.6%)
CIE-LABlab(78.25, -9.59, 62.01)
CIE-LCHlch(78.25, 62.74, 98.79°)
OKLaboklab(80.92% -0.0319 0.1396)
OKLCHoklch(80.92% 0.143 102.9)
XYZxyz(47.4575, 53.6383, 13.8134)
Luminance0.5364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C447 #4755D2
analogous
#D27F47 #D2C447 #9AD247
triadic
#D2C447 #47D2C4 #C447D2
tetradic
#D2C447 #47D27F #4755D2 #D2479A
square
#D2C447 #47D27F #4755D2 #D2479A
split-complementary
#D2C447 #479AD2 #7F47D2
monochromatic
#7F761F #B1A32B #D2C447 #DED478 #EAE4A9

Accessibility & contrast

On white

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

On black

11.73
#D2C447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C447
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C447#FFFFFF#000000##000000
##D2C4471.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2c447;
/* rgb */ color: rgb(210, 196, 71);
/* oklch */ color: oklch(80.9% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#e3d581',
    500: '#d2c447',
    950: '#000000',
  },
}
SCSS
$custom: #d2c447;
$custom-light: #e3d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c447",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 71
  },
  "hsl": {
    "h": 53.957,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80922,
    "c": 0.14325,
    "h": 102.9
  },
  "luminance": 0.53636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C447

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

Preview Lab → · Contrast checker → · Palette generator →

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