#D1C347#D1C347

#D1C347 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.142 H 102.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#D1C347
RGBrgb(209, 195, 71)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.7%, 66%, 18%)
CIE-LABlab(77.90, -9.50, 61.62)
CIE-LCHlch(77.90, 62.34, 98.76°)
OKLaboklab(80.62% -0.0316 0.1389)
OKLCHoklch(80.62% 0.142 102.8)
XYZxyz(46.9488, 53.0423, 13.7252)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C347 #4755D1
analogous
#D17E47 #D1C347 #9AD147
triadic
#D1C347 #47D1C3 #C347D1
tetradic
#D1C347 #47D17E #4755D1 #D1479A
square
#D1C347 #47D17E #4755D1 #D1479A
split-complementary
#D1C347 #479AD1 #7E47D1
monochromatic
#7E7420 #AFA22C #D1C347 #DDD378 #E9E3A9

Accessibility & contrast

On white

1.81
#D1C347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#D1C347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C347
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C347#FFFFFF#000000##000000
##D1C3471.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E0B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c347;
/* rgb */ color: rgb(209, 195, 71);
/* oklch */ color: oklch(80.6% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e2d480',
    500: '#d1c347',
    950: '#000000',
  },
}
SCSS
$custom: #d1c347;
$custom-light: #e2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c347",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 71
  },
  "hsl": {
    "h": 53.913,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80623,
    "c": 0.14241,
    "h": 102.8
  },
  "luminance": 0.5304
}

Semantic roles & 50–950 ramp

primary
#D1C347
secondary
#373F86
accent
#55E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C347

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

Preview Lab → · Contrast checker → · Palette generator →

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