#D1C643#D1C643

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

Color values

HEX#D1C643
RGBrgb(209, 198, 67)
HSLhsl(55, 61%, 54%)
HSVhsv(55, 68%, 82%)
CMYKcmyk(0%, 5.3%, 67.9%, 18%)
CIE-LABlab(78.67, -11.25, 63.99)
CIE-LCHlch(78.67, 64.97, 99.97°)
OKLaboklab(81.22% -0.037 0.1432)
OKLCHoklch(81.22% 0.148 104.5)
XYZxyz(47.5036, 54.3505, 13.2975)
Luminance0.5435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C643 #434ED1
analogous
#D17F43 #D1C643 #95D143
triadic
#D1C643 #43D1C6 #C643D1
tetradic
#D1C643 #43D17F #434ED1 #D14395
square
#D1C643 #43D17F #434ED1 #D14395
split-complementary
#D1C643 #4395D1 #7F43D1
monochromatic
#7B741E #ADA22A #D1C643 #DDD574 #E9E4A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C643#FFFFFF#000000##000000
##D1C6431.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)
#D7BF30
Deuteranopia (green-blind)
#DBC54B
Tritanopia (blue-blind)
#E0B9AC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c643;
/* rgb */ color: rgb(209, 198, 67);
/* oklch */ color: oklch(81.2% 0.148 104.5);
Tailwind
colors: {
  custom: {
    50: '#e3d77e',
    500: '#d1c643',
    950: '#000000',
  },
}
SCSS
$custom: #d1c643;
$custom-light: #e3d77e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c643",
  "rgb": {
    "r": 209,
    "g": 198,
    "b": 67
  },
  "hsl": {
    "h": 55.352,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81222,
    "c": 0.14791,
    "h": 104.5
  },
  "luminance": 0.54349
}

Semantic roles & 50–950 ramp

primary
#D1C643
secondary
#353B83
accent
#50E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C643

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

Preview Lab → · Contrast checker → · Palette generator →

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