#D2C441#D2C441

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

Color values

HEX#D2C441
RGBrgb(210, 196, 65)
HSLhsl(54, 62%, 54%)
HSVhsv(54, 69%, 82%)
CMYKcmyk(0%, 6.7%, 69%, 17.6%)
CIE-LABlab(78.21, -9.91, 64.33)
CIE-LCHlch(78.21, 65.09, 98.76°)
OKLaboklab(80.87% -0.0335 0.1436)
OKLCHoklch(80.87% 0.147 103.1)
XYZxyz(47.2744, 53.5651, 12.8489)
Luminance0.5356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C441 #414FD2
analogous
#D27C41 #D2C441 #98D241
triadic
#D2C441 #41D2C4 #C441D2
tetradic
#D2C441 #41D27C #414FD2 #D24198
square
#D2C441 #41D27C #414FD2 #D24198
split-complementary
#D2C441 #4198D2 #7C41D2
monochromatic
#7B721D #ADA029 #D2C441 #DED372 #E9E3A4

Accessibility & contrast

On white

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

On black

11.71
#D2C441 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C441
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C441#FFFFFF#000000##000000
##D2C4411.001.7911.7111.71
#FFFFFF1.791.0021.0021.00
#00000011.7121.001.001.00
##00000011.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2D
Deuteranopia (green-blind)
#DAC449
Tritanopia (blue-blind)
#E2B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d2c441;
/* rgb */ color: rgb(210, 196, 65);
/* oklch */ color: oklch(80.9% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#e3d57d',
    500: '#d2c441',
    950: '#000000',
  },
}
SCSS
$custom: #d2c441;
$custom-light: #e3d57d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c441",
  "rgb": {
    "r": 210,
    "g": 196,
    "b": 65
  },
  "hsl": {
    "h": 54.207,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80874,
    "c": 0.14741,
    "h": 103.1
  },
  "luminance": 0.53563
}

Semantic roles & 50–950 ramp

primary
#D2C441
secondary
#343C83
accent
#53E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2C441

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

Preview Lab → · Contrast checker → · Palette generator →

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