#D1C641#D1C641

#D1C641 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.149 H 104.6°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#D1C641
RGBrgb(209, 198, 65)
HSLhsl(55, 61%, 54%)
HSVhsv(55, 69%, 82%)
CMYKcmyk(0%, 5.3%, 68.9%, 18%)
CIE-LABlab(78.65, -11.35, 64.74)
CIE-LCHlch(78.65, 65.73, 99.95°)
OKLaboklab(81.21% -0.0375 0.1445)
OKLCHoklch(81.21% 0.149 104.6)
XYZxyz(47.4446, 54.3269, 12.9870)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C641 #414CD1
analogous
#D17E41 #D1C641 #94D141
triadic
#D1C641 #41D1C6 #C641D1
tetradic
#D1C641 #41D17E #414CD1 #D14194
square
#D1C641 #41D17E #414CD1 #D14194
split-complementary
#D1C641 #4194D1 #7E41D1
monochromatic
#7A731E #ABA129 #D1C641 #DDD572 #E9E4A4

Accessibility & contrast

On white

1.77
#D1C641 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#D1C641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C641
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C641#FFFFFF#000000##000000
##D1C6411.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF2D
Deuteranopia (green-blind)
#DBC54A
Tritanopia (blue-blind)
#E0B9AB
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c641;
/* rgb */ color: rgb(209, 198, 65);
/* oklch */ color: oklch(81.2% 0.149 104.6);
Tailwind
colors: {
  custom: {
    50: '#e3d77d',
    500: '#d1c641',
    950: '#000000',
  },
}
SCSS
$custom: #d1c641;
$custom-light: #e3d77d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c641",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 55.417,
    "s": 61.017,
    "l": 53.725
  },
  "oklch": {
    "l": 0.81207,
    "c": 0.14926,
    "h": 104.6
  },
  "luminance": 0.54325
}

Semantic roles & 50–950 ramp

primary
#D1C641
secondary
#343A82
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C641

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

Preview Lab → · Contrast checker → · Palette generator →

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