#D7CB48#D7CB48

#D7CB48 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.148 H 104.1°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D7CB48
RGBrgb(215, 203, 72)
HSLhsl(55, 64%, 56%)
HSVhsv(55, 67%, 84%)
CMYKcmyk(0%, 5.6%, 66.5%, 15.7%)
CIE-LABlab(80.53, -10.98, 64.09)
CIE-LCHlch(80.53, 65.02, 99.72°)
OKLaboklab(82.84% -0.0361 0.1441)
OKLCHoklch(82.84% 0.149 104.1)
XYZxyz(50.5520, 57.6288, 14.5903)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB48 #4854D7
analogous
#D78448 #D7CB48 #9CD748
triadic
#D7CB48 #48D7CB #CB48D7
tetradic
#D7CB48 #48D784 #4854D7 #D7489C
square
#D7CB48 #48D784 #4854D7 #D7489C
split-complementary
#D7CB48 #489CD7 #8448D7
monochromatic
#877E1E #B9AD29 #D7CB48 #E2D97A #EDE8AC

Accessibility & contrast

On white

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

On black

12.53
#D7CB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB48
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB48#FFFFFF#000000##000000
##D7CB481.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC436
Deuteranopia (green-blind)
#E0CB50
Tritanopia (blue-blind)
#E7BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d7cb48;
/* rgb */ color: rgb(215, 203, 72);
/* oklch */ color: oklch(82.8% 0.148 104.1);
Tailwind
colors: {
  custom: {
    50: '#e7da82',
    500: '#d7cb48',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb48;
$custom-light: #e7da82;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb48",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 72
  },
  "hsl": {
    "h": 54.965,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.8284,
    "c": 0.1485,
    "h": 104.1
  },
  "luminance": 0.57627
}

Semantic roles & 50–950 ramp

primary
#D7CB48
secondary
#363D8D
accent
#4FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D7CB48

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

Preview Lab → · Contrast checker → · Palette generator →

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