#D1C348#D1C348

#D1C348 is a light, vivid yellow. Relative luminance 0.531; 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#D1C348
RGBrgb(209, 195, 72)
HSLhsl(54, 60%, 55%)
HSVhsv(54, 66%, 82%)
CMYKcmyk(0%, 6.7%, 65.6%, 18%)
CIE-LABlab(77.91, -9.44, 61.22)
CIE-LCHlch(77.91, 61.94, 98.77°)
OKLaboklab(80.63% -0.0314 0.1382)
OKLCHoklch(80.63% 0.142 102.8)
XYZxyz(46.9812, 53.0553, 13.8956)
Luminance0.5305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1C348 #4856D1
analogous
#D17F48 #D1C348 #9AD148
triadic
#D1C348 #48D1C3 #C348D1
tetradic
#D1C348 #48D17F #4856D1 #D1489A
square
#D1C348 #48D17F #4856D1 #D1489A
split-complementary
#D1C348 #489AD1 #7F48D1
monochromatic
#7F7520 #B0A22C #D1C348 #DDD379 #EAE3AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1C348#FFFFFF#000000##000000
##D1C3481.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)
#D4BD38
Deuteranopia (green-blind)
#D8C34F
Tritanopia (blue-blind)
#E0B6AA
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d1c348;
/* rgb */ color: rgb(209, 195, 72);
/* oklch */ color: oklch(80.6% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#e2d481',
    500: '#d1c348',
    950: '#000000',
  },
}
SCSS
$custom: #d1c348;
$custom-light: #e2d481;
$custom-dark: #000000;
JSON
{
  "hex": "#d1c348",
  "rgb": {
    "r": 209,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 53.869,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80631,
    "c": 0.14168,
    "h": 102.8
  },
  "luminance": 0.53053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1C348

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

Preview Lab → · Contrast checker → · Palette generator →

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