#D1CB48#D1CB48

#D1CB48 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.149 H 106.7°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D1CB48
RGBrgb(209, 203, 72)
HSLhsl(57, 60%, 55%)
HSVhsv(57, 66%, 82%)
CMYKcmyk(0%, 2.9%, 65.6%, 18%)
CIE-LABlab(80.03, -13.50, 63.42)
CIE-LCHlch(80.03, 64.84, 102.01°)
OKLaboklab(82.32% -0.0429 0.1428)
OKLCHoklch(82.32% 0.149 106.7)
XYZxyz(48.8219, 56.7367, 14.5092)
Luminance0.5674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CB48 #484ED1
analogous
#D18648 #D1CB48 #93D148
triadic
#D1CB48 #48D1CB #CB48D1
tetradic
#D1CB48 #48D186 #484ED1 #D14893
square
#D1CB48 #48D186 #484ED1 #D14893
split-complementary
#D1CB48 #4893D1 #8648D1
monochromatic
#7F7B20 #B0AA2C #D1CB48 #DDD979 #EAE7AA

Accessibility & contrast

On white

1.70
#D1CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D1CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CB48
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CB48#FFFFFF#000000##000000
##D1CB481.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#DEC950
Tritanopia (blue-blind)
#E0BEB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1cb48;
/* rgb */ color: rgb(209, 203, 72);
/* oklch */ color: oklch(82.3% 0.149 106.7);
Tailwind
colors: {
  custom: {
    50: '#e2da82',
    500: '#d1cb48',
    950: '#000000',
  },
}
SCSS
$custom: #d1cb48;
$custom-light: #e2da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cb48",
  "rgb": {
    "r": 209,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 57.372,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82321,
    "c": 0.1491,
    "h": 106.7
  },
  "luminance": 0.56735
}

Semantic roles & 50–950 ramp

primary
#D1CB48
secondary
#373A86
accent
#4CE345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D1CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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