#D6CC4A#D6CC4A

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

Color values

HEX#D6CC4A
RGBrgb(214, 204, 74)
HSLhsl(56, 63%, 56%)
HSVhsv(56, 65%, 84%)
CMYKcmyk(0%, 4.7%, 65.4%, 16.1%)
CIE-LABlab(80.73, -11.79, 63.47)
CIE-LCHlch(80.73, 64.55, 100.52°)
OKLaboklab(82.98% -0.0381 0.1431)
OKLCHoklch(82.98% 0.148 104.9)
XYZxyz(50.5624, 57.9781, 15.0047)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC4A #4A54D6
analogous
#D6864A #D6CC4A #9AD64A
triadic
#D6CC4A #4AD6CC #CC4AD6
tetradic
#D6CC4A #4AD686 #4A54D6 #D64A9A
square
#D6CC4A #4AD686 #4A54D6 #D64A9A
split-complementary
#D6CC4A #4A9AD6 #864AD6
monochromatic
#87801F #B9AF2A #D6CC4A #E1DA7C #EDE8AE

Accessibility & contrast

On white

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

On black

12.60
#D6CC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC4A
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC4A#FFFFFF#000000##000000
##D6CC4A1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6cc4a;
/* rgb */ color: rgb(214, 204, 74);
/* oklch */ color: oklch(83.0% 0.148 104.9);
Tailwind
colors: {
  custom: {
    50: '#e6db83',
    500: '#d6cc4a',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc4a;
$custom-light: #e6db83;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc4a",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 74
  },
  "hsl": {
    "h": 55.714,
    "s": 63.063,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8298,
    "c": 0.14807,
    "h": 104.9
  },
  "luminance": 0.57976
}

Semantic roles & 50–950 ramp

primary
#D6CC4A
secondary
#373D8D
accent
#4DE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6CC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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