#D1C941#D1C941

#D1C941 is a light, vivid yellow. Relative luminance 0.557; OKLCH L 81.8% C 0.152 H 106.0°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#D1C941
RGBrgb(209, 201, 65)
HSLhsl(57, 61%, 54%)
HSVhsv(57, 69%, 82%)
CMYKcmyk(0%, 3.8%, 68.9%, 18%)
CIE-LABlab(79.45, -12.87, 65.54)
CIE-LCHlch(79.45, 66.79, 101.11°)
OKLaboklab(81.84% -0.0418 0.1461)
OKLCHoklch(81.84% 0.152 106)
XYZxyz(48.1371, 55.7120, 13.2178)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C941 #4149D1
analogous
#D18141 #D1C941 #91D141
triadic
#D1C941 #41D1C9 #C941D1
tetradic
#D1C941 #41D181 #4149D1 #D14191
square
#D1C941 #41D181 #4149D1 #D14191
split-complementary
#D1C941 #4191D1 #8141D1
monochromatic
#7A751E #ABA429 #D1C941 #DDD772 #E9E5A4

Accessibility & contrast

On white

1.73
#D1C941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.14
#D1C941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C941
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C941#FFFFFF#000000##000000
##D1C9411.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC22C
Deuteranopia (green-blind)
#DDC74A
Tritanopia (blue-blind)
#E0BCAE
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #d1c941;
/* rgb */ color: rgb(209, 201, 65);
/* oklch */ color: oklch(81.8% 0.152 106.0);
Tailwind
colors: {
  custom: {
    50: '#e3d97e',
    500: '#d1c941',
    950: '#000000',
  },
}
SCSS
$custom: #d1c941;
$custom-light: #e3d97e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c941",
  "rgb": {
    "r": 209,
    "g": 201,
    "b": 65
  },
  "hsl": {
    "h": 56.667,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81842,
    "c": 0.15201,
    "h": 106
  },
  "luminance": 0.5571
}

Semantic roles & 50–950 ramp

primary
#D1C941
secondary
#343982
accent
#4DE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C941

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

Preview Lab → · Contrast checker → · Palette generator →

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