#D6C645#D6C645

#D6C645 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.7% C 0.146 H 102.2°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#D6C645
RGBrgb(214, 198, 69)
HSLhsl(53, 64%, 55%)
HSVhsv(53, 68%, 84%)
CMYKcmyk(0%, 7.5%, 67.8%, 16.1%)
CIE-LABlab(79.11, -9.02, 63.79)
CIE-LCHlch(79.11, 64.43, 98.05°)
OKLaboklab(81.68% -0.0308 0.143)
OKLCHoklch(81.68% 0.146 102.2)
XYZxyz(49.0019, 55.1160, 13.6864)
Luminance0.5511 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C645 #4555D6
analogous
#D67D45 #D6C645 #9ED645
triadic
#D6C645 #45D6C6 #C645D6
tetradic
#D6C645 #45D67D #4555D6 #D6459E
square
#D6C645 #45D67D #4555D6 #D6459E
split-complementary
#D6C645 #459ED6 #7D45D6
monochromatic
#84781D #B6A628 #D6C645 #E1D577 #ECE5A9

Accessibility & contrast

On white

1.75
#D6C645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#D6C645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C645
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C645#FFFFFF#000000##000000
##D6C6451.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C033
Deuteranopia (green-blind)
#DDC74D
Tritanopia (blue-blind)
#E6B8AC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d6c645;
/* rgb */ color: rgb(214, 198, 69);
/* oklch */ color: oklch(81.7% 0.146 102.2);
Tailwind
colors: {
  custom: {
    50: '#e6d780',
    500: '#d6c645',
    950: '#000000',
  },
}
SCSS
$custom: #d6c645;
$custom-light: #e6d780;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c645",
  "rgb": {
    "r": 214,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 53.379,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81681,
    "c": 0.14625,
    "h": 102.2
  },
  "luminance": 0.55114
}

Semantic roles & 50–950 ramp

primary
#D6C645
secondary
#353E8A
accent
#53E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C645

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

Preview Lab → · Contrast checker → · Palette generator →

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