#D6CC48#D6CC48

#D6CC48 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.0% C 0.149 H 105.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D6CC48
RGBrgb(214, 204, 72)
HSLhsl(56, 63%, 56%)
HSVhsv(56, 66%, 84%)
CMYKcmyk(0%, 4.7%, 66.4%, 16.1%)
CIE-LABlab(80.71, -11.90, 64.25)
CIE-LCHlch(80.71, 65.34, 100.50°)
OKLaboklab(82.96% -0.0386 0.1444)
OKLCHoklch(82.96% 0.15 105)
XYZxyz(50.4961, 57.9516, 14.6555)
Luminance0.5795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC48 #4852D6
analogous
#D68548 #D6CC48 #99D648
triadic
#D6CC48 #48D6CC #CC48D6
tetradic
#D6CC48 #48D685 #4852D6 #D64899
square
#D6CC48 #48D685 #4852D6 #D64899
split-complementary
#D6CC48 #4899D6 #8548D6
monochromatic
#867E1E #B8AE29 #D6CC48 #E1DA7A #ECE8AC

Accessibility & contrast

On white

1.67
#D6CC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.59
#D6CC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC48
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC48#FFFFFF#000000##000000
##D6CC481.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC536
Deuteranopia (green-blind)
#E1CB50
Tritanopia (blue-blind)
#E5BFB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc48;
/* rgb */ color: rgb(214, 204, 72);
/* oklch */ color: oklch(83.0% 0.149 105.0);
Tailwind
colors: {
  custom: {
    50: '#e6db82',
    500: '#d6cc48',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc48;
$custom-light: #e6db82;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc48",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 55.775,
    "s": 63.393,
    "l": 56.078
  },
  "oklch": {
    "l": 0.82963,
    "c": 0.1495,
    "h": 105
  },
  "luminance": 0.5795
}

Semantic roles & 50–950 ramp

primary
#D6CC48
secondary
#363C8C
accent
#4DE641
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6CC48

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

Preview Lab → · Contrast checker → · Palette generator →

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