#D1C143#D1C143

#D1C143 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.143 H 102.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#D1C143
RGBrgb(209, 193, 67)
HSLhsl(53, 61%, 54%)
HSVhsv(53, 68%, 82%)
CMYKcmyk(0%, 7.7%, 67.9%, 18%)
CIE-LABlab(77.34, -8.70, 62.65)
CIE-LCHlch(77.34, 63.25, 97.90°)
OKLaboklab(80.17% -0.0298 0.1404)
OKLCHoklch(80.17% 0.144 102)
XYZxyz(46.3795, 52.1024, 12.9229)
Luminance0.5210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C143 #4353D1
analogous
#D17A43 #D1C143 #9AD143
triadic
#D1C143 #43D1C1 #C143D1
tetradic
#D1C143 #43D17A #4353D1 #D1439A
square
#D1C143 #43D17A #4353D1 #D1439A
split-complementary
#D1C143 #439AD1 #7A43D1
monochromatic
#7B711E #AD9E2A #D1C143 #DDD174 #E9E1A5

Accessibility & contrast

On white

1.84
#D1C143 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#D1C143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C143
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C143#FFFFFF#000000##000000
##D1C1431.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB31
Deuteranopia (green-blind)
#D7C24B
Tritanopia (blue-blind)
#E1B4A7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d1c143;
/* rgb */ color: rgb(209, 193, 67);
/* oklch */ color: oklch(80.2% 0.143 102.0);
Tailwind
colors: {
  custom: {
    50: '#e3d37e',
    500: '#d1c143',
    950: '#000000',
  },
}
SCSS
$custom: #d1c143;
$custom-light: #e3d37e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c143",
  "rgb": {
    "r": 209,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 53.239,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8017,
    "c": 0.1435,
    "h": 102
  },
  "luminance": 0.521
}

Semantic roles & 50–950 ramp

primary
#D1C143
secondary
#353E83
accent
#56E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C143

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

Preview Lab → · Contrast checker → · Palette generator →

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