#D2C944#D2C944

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

Color values

HEX#D2C944
RGBrgb(210, 201, 68)
HSLhsl(56, 61%, 55%)
HSVhsv(56, 68%, 82%)
CMYKcmyk(0%, 4.3%, 67.6%, 17.6%)
CIE-LABlab(79.55, -12.29, 64.53)
CIE-LCHlch(79.55, 65.69, 100.78°)
OKLaboklab(81.95% -0.0399 0.1445)
OKLCHoklch(81.95% 0.15 105.5)
XYZxyz(48.5103, 55.8940, 13.7011)
Luminance0.5589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C944 #444DD2
analogous
#D28244 #D2C944 #94D244
triadic
#D2C944 #44D2C9 #C944D2
tetradic
#D2C944 #44D282 #444DD2 #D24494
square
#D2C944 #44D282 #444DD2 #D24494
split-complementary
#D2C944 #4494D2 #8244D2
monochromatic
#7D771E #AFA62A #D2C944 #DED775 #EAE5A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2C944#FFFFFF#000000##000000
##D2C9441.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)
#DAC231
Deuteranopia (green-blind)
#DDC84D
Tritanopia (blue-blind)
#E1BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d2c944;
/* rgb */ color: rgb(210, 201, 68);
/* oklch */ color: oklch(82.0% 0.150 105.5);
Tailwind
colors: {
  custom: {
    50: '#e3d97f',
    500: '#d2c944',
    950: '#000000',
  },
}
SCSS
$custom: #d2c944;
$custom-light: #e3d97f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c944",
  "rgb": {
    "r": 210,
    "g": 201,
    "b": 68
  },
  "hsl": {
    "h": 56.197,
    "s": 61.207,
    "l": 54.51
  },
  "oklch": {
    "l": 0.81951,
    "c": 0.14989,
    "h": 105.5
  },
  "luminance": 0.55892
}

Semantic roles & 50–950 ramp

primary
#D2C944
secondary
#353A85
accent
#4EE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C944

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

Preview Lab → · Contrast checker → · Palette generator →

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