#D6CC54#D6CC54

#D6CC54 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.140 H 104.5°. Best body text is #000000 at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#D6CC54
RGBrgb(214, 204, 84)
HSLhsl(55, 61%, 58%)
HSVhsv(55, 61%, 84%)
CMYKcmyk(0%, 4.7%, 60.7%, 16.1%)
CIE-LABlab(80.81, -11.17, 59.38)
CIE-LCHlch(80.81, 60.42, 100.65°)
OKLaboklab(83.07% -0.0353 0.1359)
OKLCHoklch(83.07% 0.14 104.5)
XYZxyz(50.9265, 58.1238, 16.9222)
Luminance0.5812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CC54 #545ED6
analogous
#D68B54 #D6CC54 #9FD654
triadic
#D6CC54 #54D6CC #CC54D6
tetradic
#D6CC54 #54D68B #545ED6 #D6549F
square
#D6CC54 #54D68B #545ED6 #D6549F
split-complementary
#D6CC54 #549FD6 #8B54D6
monochromatic
#8E8522 #BFB42E #D6CC54 #E2DB85 #EEE9B7

Accessibility & contrast

On white

1.66
#D6CC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D6CC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CC54
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CC54#FFFFFF#000000##000000
##D6CC541.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC546
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E5BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cc54;
/* rgb */ color: rgb(214, 204, 84);
/* oklch */ color: oklch(83.1% 0.140 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6db89',
    500: '#d6cc54',
    950: '#000000',
  },
}
SCSS
$custom: #d6cc54;
$custom-light: #e6db89;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cc54",
  "rgb": {
    "r": 214,
    "g": 204,
    "b": 84
  },
  "hsl": {
    "h": 55.385,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.8307,
    "c": 0.1404,
    "h": 104.5
  },
  "luminance": 0.58122
}

Semantic roles & 50–950 ramp

primary
#D6CC54
secondary
#3B4293
accent
#50E443
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D6CC54

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

Preview Lab → · Contrast checker → · Palette generator →

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