#D6C945#D6C945

#D6C945 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.149 H 103.7°. Best body text is #000000 at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#D6C945
RGBrgb(214, 201, 69)
HSLhsl(55, 64%, 55%)
HSVhsv(55, 68%, 84%)
CMYKcmyk(0%, 6.1%, 67.8%, 16.1%)
CIE-LABlab(79.90, -10.55, 64.60)
CIE-LCHlch(79.90, 65.45, 99.28°)
OKLaboklab(82.31% -0.0351 0.1447)
OKLCHoklch(82.31% 0.149 103.7)
XYZxyz(49.6944, 56.5011, 13.9172)
Luminance0.5650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6C945 #4552D6
analogous
#D68145 #D6C945 #9AD645
triadic
#D6C945 #45D6C9 #C945D6
tetradic
#D6C945 #45D681 #4552D6 #D6459A
square
#D6C945 #45D681 #4552D6 #D6459A
split-complementary
#D6C945 #459AD6 #8145D6
monochromatic
#847A1D #B6A928 #D6C945 #E1D877 #ECE6A9

Accessibility & contrast

On white

1.71
#D6C945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.30
#D6C945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6C945
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6C945#FFFFFF#000000##000000
##D6C9451.001.7112.3012.30
#FFFFFF1.711.0021.0021.00
#00000012.3021.001.001.00
##00000012.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC232
Deuteranopia (green-blind)
#DFC94D
Tritanopia (blue-blind)
#E6BBAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d6c945;
/* rgb */ color: rgb(214, 201, 69);
/* oklch */ color: oklch(82.3% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#e6d980',
    500: '#d6c945',
    950: '#000000',
  },
}
SCSS
$custom: #d6c945;
$custom-light: #e6d980;
$custom-dark: #000000;
JSON
{
  "hex": "#d6c945",
  "rgb": {
    "r": 214,
    "g": 201,
    "b": 69
  },
  "hsl": {
    "h": 54.621,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82309,
    "c": 0.14887,
    "h": 103.7
  },
  "luminance": 0.56499
}

Semantic roles & 50–950 ramp

primary
#D6C945
secondary
#353D8A
accent
#50E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D6C945

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

Preview Lab → · Contrast checker → · Palette generator →

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