#D1C747#D1C747

#D1C747 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.146 H 104.8°. Best body text is #000000 at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#D1C747
RGBrgb(209, 199, 71)
HSLhsl(56, 60%, 55%)
HSVhsv(56, 66%, 82%)
CMYKcmyk(0%, 4.8%, 66%, 18%)
CIE-LABlab(78.96, -11.53, 62.71)
CIE-LCHlch(78.96, 63.76, 100.42°)
OKLaboklab(81.47% -0.0374 0.1412)
OKLCHoklch(81.47% 0.146 104.8)
XYZxyz(47.8571, 54.8589, 14.0279)
Luminance0.5486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C747 #4751D1
analogous
#D18247 #D1C747 #96D147
triadic
#D1C747 #47D1C7 #C747D1
tetradic
#D1C747 #47D182 #4751D1 #D14796
square
#D1C747 #47D182 #4751D1 #D14796
split-complementary
#D1C747 #4796D1 #8247D1
monochromatic
#7E7720 #AFA62C #D1C747 #DDD678 #E9E5A9

Accessibility & contrast

On white

1.75
#D1C747 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.97
#D1C747 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C747
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C747#FFFFFF#000000##000000
##D1C7471.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C036
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#E0BAAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #d1c747;
/* rgb */ color: rgb(209, 199, 71);
/* oklch */ color: oklch(81.5% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e2d781',
    500: '#d1c747',
    950: '#000000',
  },
}
SCSS
$custom: #d1c747;
$custom-light: #e2d781;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c747",
  "rgb": {
    "r": 209,
    "g": 199,
    "b": 71
  },
  "hsl": {
    "h": 55.652,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.81466,
    "c": 0.14604,
    "h": 104.8
  },
  "luminance": 0.54857
}

Semantic roles & 50–950 ramp

primary
#D1C747
secondary
#373C86
accent
#50E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C747

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

Preview Lab → · Contrast checker → · Palette generator →

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