#D1C247#D1C247

#D1C247 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.142 H 102.3°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#D1C247
RGBrgb(209, 194, 71)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 66%, 82%)
CMYKcmyk(0%, 7.2%, 66%, 18%)
CIE-LABlab(77.64, -8.99, 61.34)
CIE-LCHlch(77.64, 62.00, 98.33°)
OKLaboklab(80.41% -0.0302 0.1383)
OKLCHoklch(80.41% 0.142 102.3)
XYZxyz(46.7255, 52.5957, 13.6508)
Luminance0.5259 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C247 #4756D1
analogous
#D17D47 #D1C247 #9BD147
triadic
#D1C247 #47D1C2 #C247D1
tetradic
#D1C247 #47D17D #4756D1 #D1479B
square
#D1C247 #47D17D #4756D1 #D1479B
split-complementary
#D1C247 #479BD1 #7D47D1
monochromatic
#7E7420 #AFA12C #D1C247 #DDD278 #E9E2A9

Accessibility & contrast

On white

1.82
#D1C247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#D1C247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C247
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C247#FFFFFF#000000##000000
##D1C2471.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC37
Deuteranopia (green-blind)
#D8C34E
Tritanopia (blue-blind)
#E0B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d1c247;
/* rgb */ color: rgb(209, 194, 71);
/* oklch */ color: oklch(80.4% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#e2d480',
    500: '#d1c247',
    950: '#000000',
  },
}
SCSS
$custom: #d1c247;
$custom-light: #e2d480;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c247",
  "rgb": {
    "r": 209,
    "g": 194,
    "b": 71
  },
  "hsl": {
    "h": 53.478,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80413,
    "c": 0.14153,
    "h": 102.3
  },
  "luminance": 0.52594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C247

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

Preview Lab → · Contrast checker → · Palette generator →

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