#D1C448#D1C448

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

Color values

HEX#D1C448
RGBrgb(209, 196, 72)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.2%, 65.6%, 18%)
CIE-LABlab(78.17, -9.95, 61.49)
CIE-LCHlch(78.17, 62.29, 99.19°)
OKLaboklab(80.84% -0.0328 0.1387)
OKLCHoklch(80.84% 0.143 103.3)
XYZxyz(47.2060, 53.5049, 13.9705)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C448 #4855D1
analogous
#D18048 #D1C448 #99D148
triadic
#D1C448 #48D1C4 #C448D1
tetradic
#D1C448 #48D180 #4855D1 #D14899
square
#D1C448 #48D180 #4855D1 #D14899
split-complementary
#D1C448 #4899D1 #8048D1
monochromatic
#7F7620 #B0A32C #D1C448 #DDD479 #EAE4AA

Accessibility & contrast

On white

1.79
#D1C448 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C448#FFFFFF#000000##000000
##D1C4481.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1c448;
/* rgb */ color: rgb(209, 196, 72);
/* oklch */ color: oklch(80.8% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e2d581',
    500: '#d1c448',
    950: '#000000',
  },
}
SCSS
$custom: #d1c448;
$custom-light: #e2d581;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c448",
  "rgb": {
    "r": 209,
    "g": 196,
    "b": 72
  },
  "hsl": {
    "h": 54.307,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80842,
    "c": 0.14257,
    "h": 103.3
  },
  "luminance": 0.53503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C448

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

Preview Lab → · Contrast checker → · Palette generator →

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