#D2C445#D2C445

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

Color values

HEX#D2C445
RGBrgb(210, 196, 69)
HSLhsl(54, 61%, 55%)
HSVhsv(54, 67%, 82%)
CMYKcmyk(0%, 6.7%, 67.1%, 17.6%)
CIE-LABlab(78.24, -9.70, 62.79)
CIE-LCHlch(78.24, 63.54, 98.78°)
OKLaboklab(80.91% -0.0325 0.141)
OKLCHoklch(80.91% 0.145 103)
XYZxyz(47.3944, 53.6131, 13.4809)
Luminance0.5361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C445 #4553D2
analogous
#D27E45 #D2C445 #99D245
triadic
#D2C445 #45D2C4 #C445D2
tetradic
#D2C445 #45D27E #4553D2 #D24599
square
#D2C445 #45D27E #4553D2 #D24599
split-complementary
#D2C445 #4599D2 #7E45D2
monochromatic
#7E751F #AFA22A #D2C445 #DED476 #EAE3A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C445#FFFFFF#000000##000000
##D2C4451.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)
#D5BE33
Deuteranopia (green-blind)
#DAC44D
Tritanopia (blue-blind)
#E1B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c445;
/* rgb */ color: rgb(210, 196, 69);
/* oklch */ color: oklch(80.9% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e3d57f',
    500: '#d2c445',
    950: '#000000',
  },
}
SCSS
$custom: #d2c445;
$custom-light: #e3d57f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c445",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 69
  },
  "hsl": {
    "h": 54.043,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80905,
    "c": 0.14468,
    "h": 103
  },
  "luminance": 0.53611
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2C445

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

Preview Lab → · Contrast checker → · Palette generator →

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