#D2C943#D2C943

#D2C943 is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.151 H 105.5°. Best body text is #000000 at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#D2C943
RGBrgb(210, 201, 67)
HSLhsl(56, 61%, 54%)
HSVhsv(56, 68%, 82%)
CMYKcmyk(0%, 4.3%, 68.1%, 17.6%)
CIE-LABlab(79.55, -12.34, 64.90)
CIE-LCHlch(79.55, 66.07, 100.77°)
OKLaboklab(81.94% -0.0402 0.1451)
OKLCHoklch(81.94% 0.151 105.5)
XYZxyz(48.4800, 55.8819, 13.5417)
Luminance0.5588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C943 #434CD2
analogous
#D28243 #D2C943 #94D243
triadic
#D2C943 #43D2C9 #C943D2
tetradic
#D2C943 #43D282 #434CD2 #D24394
square
#D2C943 #43D282 #434CD2 #D24394
split-complementary
#D2C943 #4394D2 #8243D2
monochromatic
#7D771E #AEA62A #D2C943 #DED774 #EAE5A6

Accessibility & contrast

On white

1.72
#D2C943 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.18
#D2C943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C943
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C943#FFFFFF#000000##000000
##D2C9431.001.7212.1812.18
#FFFFFF1.721.0021.0021.00
#00000012.1821.001.001.00
##00000012.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22F
Deuteranopia (green-blind)
#DDC84C
Tritanopia (blue-blind)
#E1BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c943;
/* rgb */ color: rgb(210, 201, 67);
/* oklch */ color: oklch(81.9% 0.151 105.5);
Tailwind
colors: {
  custom: {
    50: '#e3d97f',
    500: '#d2c943',
    950: '#000000',
  },
}
SCSS
$custom: #d2c943;
$custom-light: #e3d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c943",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 67
  },
  "hsl": {
    "h": 56.224,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81944,
    "c": 0.15056,
    "h": 105.5
  },
  "luminance": 0.5588
}

Semantic roles & 50–950 ramp

primary
#D2C943
secondary
#353A84
accent
#4DE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C943

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

Preview Lab → · Contrast checker → · Palette generator →

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