#D1CA48#D1CA48

#D1CA48 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.148 H 106.2°. Best body text is #000000 at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#D1CA48
RGBrgb(209, 202, 72)
HSLhsl(57, 60%, 55%)
HSVhsv(57, 66%, 82%)
CMYKcmyk(0%, 3.3%, 65.6%, 18%)
CIE-LABlab(79.76, -12.99, 63.14)
CIE-LCHlch(79.76, 64.46, 101.63°)
OKLaboklab(82.11% -0.0414 0.1422)
OKLCHoklch(82.11% 0.148 106.2)
XYZxyz(48.5865, 56.2659, 14.4307)
Luminance0.5626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA48 #484FD1
analogous
#D18548 #D1CA48 #94D148
triadic
#D1CA48 #48D1CA #CA48D1
tetradic
#D1CA48 #48D185 #484FD1 #D14894
square
#D1CA48 #48D185 #484FD1 #D14894
split-complementary
#D1CA48 #4894D1 #8548D1
monochromatic
#7F7A20 #B0A92C #D1CA48 #DDD879 #EAE6AA

Accessibility & contrast

On white

1.71
#D1CA48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.25
#D1CA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA48
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA48#FFFFFF#000000##000000
##D1CA481.001.7112.2512.25
#FFFFFF1.711.0021.0021.00
#00000012.2521.001.001.00
##00000012.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#DEC850
Tritanopia (blue-blind)
#E0BDAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca48;
/* rgb */ color: rgb(209, 202, 72);
/* oklch */ color: oklch(82.1% 0.148 106.2);
Tailwind
colors: {
  custom: {
    50: '#e2d982',
    500: '#d1ca48',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca48;
$custom-light: #e2d982;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca48",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 56.934,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82109,
    "c": 0.14814,
    "h": 106.2
  },
  "luminance": 0.56264
}

Semantic roles & 50–950 ramp

primary
#D1CA48
secondary
#373B86
accent
#4DE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CA48

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

Preview Lab → · Contrast checker → · Palette generator →

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