#D2C443#D2C443

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

Color values

HEX#D2C443
RGBrgb(210, 196, 67)
HSLhsl(54, 61%, 54%)
HSVhsv(54, 68%, 82%)
CMYKcmyk(0%, 6.7%, 68.1%, 17.6%)
CIE-LABlab(78.22, -9.81, 63.57)
CIE-LCHlch(78.22, 64.32, 98.77°)
OKLaboklab(80.89% -0.033 0.1423)
OKLCHoklch(80.89% 0.146 103.1)
XYZxyz(47.3334, 53.5887, 13.1595)
Luminance0.5359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C443 #4351D2
analogous
#D27D43 #D2C443 #99D243
triadic
#D2C443 #43D2C4 #C443D2
tetradic
#D2C443 #43D27D #4351D2 #D24399
square
#D2C443 #43D27D #4351D2 #D24399
split-complementary
#D2C443 #4399D2 #7D43D2
monochromatic
#7D731E #AEA12A #D2C443 #DED374 #EAE3A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C443#FFFFFF#000000##000000
##D2C4431.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)
#D5BE30
Deuteranopia (green-blind)
#DAC44B
Tritanopia (blue-blind)
#E2B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c443;
/* rgb */ color: rgb(210, 196, 67);
/* oklch */ color: oklch(80.9% 0.146 103.1);
Tailwind
colors: {
  custom: {
    50: '#e3d57e',
    500: '#d2c443',
    950: '#000000',
  },
}
SCSS
$custom: #d2c443;
$custom-light: #e3d57e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c443",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 67
  },
  "hsl": {
    "h": 54.126,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.80889,
    "c": 0.14606,
    "h": 103.1
  },
  "luminance": 0.53587
}

Semantic roles & 50–950 ramp

primary
#D2C443
secondary
#353D84
accent
#53E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C443

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

Preview Lab → · Contrast checker → · Palette generator →

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