#D1C048#D1C048

#D1C048 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.139 H 101.2°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D1C048
RGBrgb(209, 192, 72)
HSLhsl(53, 60%, 55%)
HSVhsv(53, 66%, 82%)
CMYKcmyk(0%, 8.1%, 65.6%, 18%)
CIE-LABlab(77.12, -7.90, 60.39)
CIE-LCHlch(77.12, 60.90, 97.45°)
OKLaboklab(80% -0.027 0.1364)
OKLCHoklch(80% 0.139 101.2)
XYZxyz(46.3158, 51.7244, 13.6738)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C048 #4859D1
analogous
#D17C48 #D1C048 #9DD148
triadic
#D1C048 #48D1C0 #C048D1
tetradic
#D1C048 #48D17C #4859D1 #D1489D
square
#D1C048 #48D17C #4859D1 #D1489D
split-complementary
#D1C048 #489DD1 #7C48D1
monochromatic
#7F7320 #B09F2C #D1C048 #DDD179 #EAE2AA

Accessibility & contrast

On white

1.85
#D1C048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D1C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1C048
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1C048#FFFFFF#000000##000000
##D1C0481.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA39
Deuteranopia (green-blind)
#D6C14F
Tritanopia (blue-blind)
#E0B3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d1c048;
/* rgb */ color: rgb(209, 192, 72);
/* oklch */ color: oklch(80.0% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#e2d281',
    500: '#d1c048',
    950: '#000000',
  },
}
SCSS
$custom: #d1c048;
$custom-light: #e2d281;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c048",
  "rgb": {
    "r": 209,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 52.555,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80002,
    "c": 0.13906,
    "h": 101.2
  },
  "luminance": 0.51722
}

Semantic roles & 50–950 ramp

primary
#D1C048
secondary
#374186
accent
#58E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1C048

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

Preview Lab → · Contrast checker → · Palette generator →

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