#D1C646#D1C646

#D1C646 is a light, vivid yellow. Relative luminance 0.544; OKLCH L 81.2% C 0.146 H 104.4°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#D1C646
RGBrgb(209, 198, 70)
HSLhsl(55, 60%, 55%)
HSVhsv(55, 67%, 82%)
CMYKcmyk(0%, 5.3%, 66.5%, 18%)
CIE-LABlab(78.69, -11.08, 62.83)
CIE-LCHlch(78.69, 63.80, 100.00°)
OKLaboklab(81.25% -0.0362 0.1412)
OKLCHoklch(81.25% 0.146 104.4)
XYZxyz(47.5959, 54.3875, 13.7839)
Luminance0.5439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C646 #4651D1
analogous
#D18146 #D1C646 #96D146
triadic
#D1C646 #46D1C6 #C646D1
tetradic
#D1C646 #46D181 #4651D1 #D14696
square
#D1C646 #46D181 #4651D1 #D14696
split-complementary
#D1C646 #4696D1 #8146D1
monochromatic
#7D761F #AEA42B #D1C646 #DDD577 #E9E4A8

Accessibility & contrast

On white

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

On black

11.88
#D1C646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C646
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C646#FFFFFF#000000##000000
##D1C6461.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BF34
Deuteranopia (green-blind)
#DBC54E
Tritanopia (blue-blind)
#E0B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c646;
/* rgb */ color: rgb(209, 198, 70);
/* oklch */ color: oklch(81.2% 0.146 104.4);
Tailwind
colors: {
  custom: {
    50: '#e2d780',
    500: '#d1c646',
    950: '#000000',
  },
}
SCSS
$custom: #d1c646;
$custom-light: #e2d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c646",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 55.252,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.81246,
    "c": 0.14583,
    "h": 104.4
  },
  "luminance": 0.54386
}

Semantic roles & 50–950 ramp

primary
#D1C646
secondary
#363C85
accent
#51E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C646

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

Preview Lab → · Contrast checker → · Palette generator →

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