#D2C543#D2C543

#D2C543 is a light, vivid yellow. Relative luminance 0.540; OKLCH L 81.1% C 0.147 H 103.6°. Best body text is #000000 at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#D2C543
RGBrgb(210, 197, 67)
HSLhsl(55, 61%, 54%)
HSVhsv(55, 68%, 82%)
CMYKcmyk(0%, 6.2%, 68.1%, 17.6%)
CIE-LABlab(78.49, -10.32, 63.83)
CIE-LCHlch(78.49, 64.66, 99.18°)
OKLaboklab(81.1% -0.0344 0.1429)
OKLCHoklch(81.1% 0.147 103.6)
XYZxyz(47.5597, 54.0413, 13.2349)
Luminance0.5404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C543 #4350D2
analogous
#D27D43 #D2C543 #98D243
triadic
#D2C543 #43D2C5 #C543D2
tetradic
#D2C543 #43D27D #4350D2 #D24398
square
#D2C543 #43D27D #4350D2 #D24398
split-complementary
#D2C543 #4398D2 #7D43D2
monochromatic
#7D741E #AEA22A #D2C543 #DED474 #EAE3A6

Accessibility & contrast

On white

1.78
#D2C543 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.81
#D2C543 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C543
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C543#FFFFFF#000000##000000
##D2C5431.001.7811.8111.81
#FFFFFF1.781.0021.0021.00
#00000011.8121.001.001.00
##00000011.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF30
Deuteranopia (green-blind)
#DAC54B
Tritanopia (blue-blind)
#E1B8AB
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d2c543;
/* rgb */ color: rgb(210, 197, 67);
/* oklch */ color: oklch(81.1% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e3d67e',
    500: '#d2c543',
    950: '#000000',
  },
}
SCSS
$custom: #d2c543;
$custom-light: #e3d67e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c543",
  "rgb": {
    "r": 210,
    "g": 197,
    "b": 67
  },
  "hsl": {
    "h": 54.545,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.811,
    "c": 0.14695,
    "h": 103.6
  },
  "luminance": 0.54039
}

Semantic roles & 50–950 ramp

primary
#D2C543
secondary
#353C84
accent
#52E443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C543

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

Preview Lab → · Contrast checker → · Palette generator →

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