#D6CC4D#D6CC4D

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

Color values

HEX#D6CC4D
RGBrgb(214, 204, 77)
HSLhsl(56, 63%, 57%)
HSVhsv(56, 64%, 84%)
CMYKcmyk(0%, 4.7%, 64%, 16.1%)
CIE-LABlab(80.75, -11.61, 62.27)
CIE-LCHlch(80.75, 63.34, 100.56°)
OKLaboklab(83.01% -0.0373 0.141)
OKLCHoklch(83.01% 0.146 104.8)
XYZxyz(50.6659, 58.0195, 15.5498)
Luminance0.5802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC4D #4D57D6
analogous
#D6874D #D6CC4D #9CD64D
triadic
#D6CC4D #4DD6CC #CC4DD6
tetradic
#D6CC4D #4DD687 #4D57D6 #D64D9C
square
#D6CC4D #4DD687 #4D57D6 #D64D9C
split-complementary
#D6CC4D #4D9CD6 #874DD6
monochromatic
#898120 #BBB02B #D6CC4D #E1DA7F #EDE9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D6CC4D#FFFFFF#000000##000000
##D6CC4D1.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)
#DDC53D
Deuteranopia (green-blind)
#E1CB55
Tritanopia (blue-blind)
#E5BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d6cc4d;
/* rgb */ color: rgb(214, 204, 77);
/* oklch */ color: oklch(83.0% 0.146 104.8);
Tailwind
colors: {
  custom: {
    50: '#e6db85',
    500: '#d6cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc4d;
$custom-light: #e6db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc4d",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 55.62,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83005,
    "c": 0.14587,
    "h": 104.8
  },
  "luminance": 0.58018
}

Semantic roles & 50–950 ramp

primary
#D6CC4D
secondary
#383E8F
accent
#4EE642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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