#D6CC40#D6CC40

#D6CC40 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.155 H 105.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D6CC40
RGBrgb(214, 204, 64)
HSLhsl(56, 65%, 55%)
HSVhsv(56, 70%, 84%)
CMYKcmyk(0%, 4.7%, 70.1%, 16.1%)
CIE-LABlab(80.66, -12.32, 67.24)
CIE-LCHlch(80.66, 68.36, 100.38°)
OKLaboklab(82.9% -0.0406 0.1494)
OKLCHoklch(82.9% 0.155 105.2)
XYZxyz(50.2519, 57.8539, 13.3694)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC40 #404AD6
analogous
#D68140 #D6CC40 #95D640
triadic
#D6CC40 #40D6CC #CC40D6
tetradic
#D6CC40 #40D681 #404AD6 #D64095
square
#D6CC40 #40D681 #404AD6 #D64095
split-complementary
#D6CC40 #4095D6 #8140D6
monochromatic
#80791B #B2A926 #D6CC40 #E1D972 #ECE7A5

Accessibility & contrast

On white

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

On black

12.57
#D6CC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC40
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC40#FFFFFF#000000##000000
##D6CC401.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC529
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E6BEB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc40;
/* rgb */ color: rgb(214, 204, 64);
/* oklch */ color: oklch(82.9% 0.155 105.2);
Tailwind
colors: {
  custom: {
    50: '#e6db7e',
    500: '#d6cc40',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc40;
$custom-light: #e6db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc40",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 64
  },
  "hsl": {
    "h": 56,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.82903,
    "c": 0.15484,
    "h": 105.2
  },
  "luminance": 0.57852
}

Semantic roles & 50–950 ramp

primary
#D6CC40
secondary
#333987
accent
#4BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D6CC40

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

Preview Lab → · Contrast checker → · Palette generator →

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