#D6D945#D6D945

#D6D945 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.7% C 0.164 H 110.6°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D6D945
RGBrgb(214, 217, 69)
HSLhsl(61, 66%, 56%)
HSVhsv(61, 68%, 85%)
CMYKcmyk(1.4%, 0%, 68.2%, 14.9%)
CIE-LABlab(84.15, -18.53, 68.86)
CIE-LCHlch(84.15, 71.31, 105.06°)
OKLaboklab(85.7% -0.0576 0.1537)
OKLCHoklch(85.7% 0.164 110.6)
XYZxyz(53.6204, 64.3530, 15.2259)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D945 #4845D9
analogous
#D99245 #D6D945 #8CD945
triadic
#D6D945 #45D6D9 #D945D6
tetradic
#D6D945 #45D992 #4845D9 #D9458C
square
#D6D945 #45D992 #4845D9 #D9458C
split-complementary
#D6D945 #458CD9 #9245D9
monochromatic
#86881C #B8BB26 #D6D945 #E1E378 #ECEEAB

Accessibility & contrast

On white

1.51
#D6D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D6D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D945
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D945#FFFFFF#000000##000000
##D6D9451.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD02D
Deuteranopia (green-blind)
#EBD450
Tritanopia (blue-blind)
#E5CCBC
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d6d945;
/* rgb */ color: rgb(214, 217, 69);
/* oklch */ color: oklch(85.7% 0.164 110.6);
Tailwind
colors: {
  custom: {
    50: '#e6e481',
    500: '#d6d945',
    950: '#000000',
  },
}
SCSS
$custom: #d6d945;
$custom-light: #e6e481;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d945",
  "rgb": {
    "r": 214,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 61.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.85698,
    "c": 0.16411,
    "h": 110.6
  },
  "luminance": 0.64352
}

Semantic roles & 50–950 ramp

primary
#D6D945
secondary
#36348E
accent
#3FE942
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D945

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

Preview Lab → · Contrast checker → · Palette generator →

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