#D1C843#D1C843

#D1C843 is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.6% C 0.150 H 105.4°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D1C843
RGBrgb(209, 200, 67)
HSLhsl(56, 61%, 54%)
HSVhsv(56, 68%, 82%)
CMYKcmyk(0%, 4.3%, 67.9%, 18%)
CIE-LABlab(79.20, -12.26, 64.53)
CIE-LCHlch(79.20, 65.68, 100.76°)
OKLaboklab(81.65% -0.0399 0.1443)
OKLCHoklch(81.65% 0.15 105.4)
XYZxyz(47.9638, 55.2709, 13.4509)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C843 #434CD1
analogous
#D18143 #D1C843 #93D143
triadic
#D1C843 #43D1C8 #C843D1
tetradic
#D1C843 #43D181 #434CD1 #D14393
square
#D1C843 #43D181 #434CD1 #D14393
split-complementary
#D1C843 #4393D1 #8143D1
monochromatic
#7B751E #ADA42A #D1C843 #DDD674 #E9E5A5

Accessibility & contrast

On white

1.74
#D1C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D1C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C843
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C843#FFFFFF#000000##000000
##D1C8431.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C12F
Deuteranopia (green-blind)
#DCC74C
Tritanopia (blue-blind)
#E0BBAD
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d1c843;
/* rgb */ color: rgb(209, 200, 67);
/* oklch */ color: oklch(81.6% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#e3d87f',
    500: '#d1c843',
    950: '#000000',
  },
}
SCSS
$custom: #d1c843;
$custom-light: #e3d87f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c843",
  "rgb": {
    "r": 209,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 56.197,
    "s": 60.684,
    "l": 54.118
  },
  "oklch": {
    "l": 0.81645,
    "c": 0.14975,
    "h": 105.4
  },
  "luminance": 0.55269
}

Semantic roles & 50–950 ramp

primary
#D1C843
secondary
#353A83
accent
#4EE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D1C843

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

Preview Lab → · Contrast checker → · Palette generator →

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