#D6CD45#D6CD45

#D6CD45 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.2% C 0.152 H 105.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D6CD45
RGBrgb(214, 205, 69)
HSLhsl(56, 64%, 55%)
HSVhsv(56, 68%, 84%)
CMYKcmyk(0%, 4.2%, 67.8%, 16.1%)
CIE-LABlab(80.96, -12.57, 65.66)
CIE-LCHlch(80.96, 66.86, 100.84°)
OKLaboklab(83.15% -0.0408 0.1469)
OKLCHoklch(83.15% 0.152 105.5)
XYZxyz(50.6390, 58.3903, 14.2321)
Luminance0.5839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6CD45 #454ED6
analogous
#D68445 #D6CD45 #96D645
triadic
#D6CD45 #45D6CD #CD45D6
tetradic
#D6CD45 #45D684 #454ED6 #D64596
square
#D6CD45 #45D684 #454ED6 #D64596
split-complementary
#D6CD45 #4596D6 #8445D6
monochromatic
#847D1D #B6AD28 #D6CD45 #E1DA77 #ECE8A9

Accessibility & contrast

On white

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

On black

12.68
#D6CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6CD45
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6CD45#FFFFFF#000000##000000
##D6CD451.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC631
Deuteranopia (green-blind)
#E2CC4E
Tritanopia (blue-blind)
#E5C0B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d6cd45;
/* rgb */ color: rgb(214, 205, 69);
/* oklch */ color: oklch(83.2% 0.152 105.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc80',
    500: '#d6cd45',
    950: '#000000',
  },
}
SCSS
$custom: #d6cd45;
$custom-light: #e6dc80;
$custom-dark: #000000;
JSON
{
  "hex": "#d6cd45",
  "rgb": {
    "r": 214,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 56.276,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8315,
    "c": 0.15249,
    "h": 105.5
  },
  "luminance": 0.58388
}

Semantic roles & 50–950 ramp

primary
#D6CD45
secondary
#353A8A
accent
#4BE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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