#D1C447#D1C447

#D1C447 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.143 H 103.4°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#D1C447
RGBrgb(209, 196, 71)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.2%, 66%, 18%)
CIE-LABlab(78.16, -10.01, 61.89)
CIE-LCHlch(78.16, 62.69, 99.19°)
OKLaboklab(80.83% -0.0331 0.1394)
OKLCHoklch(80.83% 0.143 103.4)
XYZxyz(47.1736, 53.4919, 13.8001)
Luminance0.5349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C447 #4754D1
analogous
#D17F47 #D1C447 #99D147
triadic
#D1C447 #47D1C4 #C447D1
tetradic
#D1C447 #47D17F #4754D1 #D14799
square
#D1C447 #47D17F #4754D1 #D14799
split-complementary
#D1C447 #4799D1 #7F47D1
monochromatic
#7E7520 #AFA32C #D1C447 #DDD478 #E9E3A9

Accessibility & contrast

On white

1.80
#D1C447 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#D1C447 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C447
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C447#FFFFFF#000000##000000
##D1C4471.001.8011.7011.70
#FFFFFF1.801.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE36
Deuteranopia (green-blind)
#D9C44F
Tritanopia (blue-blind)
#E0B7AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c447;
/* rgb */ color: rgb(209, 196, 71);
/* oklch */ color: oklch(80.8% 0.143 103.4);
Tailwind
colors: {
  custom: {
    50: '#e2d581',
    500: '#d1c447',
    950: '#000000',
  },
}
SCSS
$custom: #d1c447;
$custom-light: #e2d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c447",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 71
  },
  "hsl": {
    "h": 54.348,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80833,
    "c": 0.14331,
    "h": 103.4
  },
  "luminance": 0.5349
}

Semantic roles & 50–950 ramp

primary
#D1C447
secondary
#373E86
accent
#54E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C447

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

Preview Lab → · Contrast checker → · Palette generator →

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