#D5CB48#D5CB48

#D5CB48 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.7% C 0.149 H 104.9°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D5CB48
RGBrgb(213, 203, 72)
HSLhsl(56, 63%, 56%)
HSVhsv(56, 66%, 84%)
CMYKcmyk(0%, 4.7%, 66.2%, 16.5%)
CIE-LABlab(80.36, -11.82, 63.86)
CIE-LCHlch(80.36, 64.95, 100.48°)
OKLaboklab(82.67% -0.0383 0.1436)
OKLCHoklch(82.67% 0.149 104.9)
XYZxyz(49.9681, 57.3277, 14.5629)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB48 #4852D5
analogous
#D58448 #D5CB48 #98D548
triadic
#D5CB48 #48D5CB #CB48D5
tetradic
#D5CB48 #48D584 #4852D5 #D54898
square
#D5CB48 #48D584 #4852D5 #D54898
split-complementary
#D5CB48 #4898D5 #8448D5
monochromatic
#847D1E #B6AC2A #D5CB48 #E0D97A #ECE7AC

Accessibility & contrast

On white

1.68
#D5CB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D5CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB48
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB48#FFFFFF#000000##000000
##D5CB481.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#E0CA50
Tritanopia (blue-blind)
#E4BEB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d5cb48;
/* rgb */ color: rgb(213, 203, 72);
/* oklch */ color: oklch(82.7% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#e5da82',
    500: '#d5cb48',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb48;
$custom-light: #e5da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb48",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 55.745,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82666,
    "c": 0.14867,
    "h": 104.9
  },
  "luminance": 0.57326
}

Semantic roles & 50–950 ramp

primary
#D5CB48
secondary
#363C8B
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D5CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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