#D6D45E#D6D45E

#D6D45E is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 84.9% C 0.140 H 108.1°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#D6D45E
RGBrgb(214, 212, 94)
HSLhsl(59, 59%, 60%)
HSVhsv(59, 56%, 84%)
CMYKcmyk(0%, 0.9%, 56.1%, 16.1%)
CIE-LABlab(83.02, -14.48, 57.44)
CIE-LCHlch(83.02, 59.23, 104.15°)
OKLaboklab(84.86% -0.0436 0.133)
OKLCHoklch(84.86% 0.14 108.1)
XYZxyz(53.2969, 62.1927, 19.7844)
Luminance0.6219 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D45E #5E60D6
analogous
#D6985E #D6D45E #9CD65E
triadic
#D6D45E #5ED6D4 #D45ED6
tetradic
#D6D45E #5ED698 #5E60D6 #D65E9C
square
#D6D45E #5ED698 #5E60D6 #D65E9C
split-complementary
#D6D45E #5E9CD6 #985ED6
monochromatic
#949226 #C5C232 #D6D45E #E2E18F #EFEEC0

Accessibility & contrast

On white

1.56
#D6D45E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#D6D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D45E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D45E#FFFFFF#000000##000000
##D6D45E1.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC52
Deuteranopia (green-blind)
#E6D164
Tritanopia (blue-blind)
#E4C8BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d6d45e;
/* rgb */ color: rgb(214, 212, 94);
/* oklch */ color: oklch(84.9% 0.140 108.1);
Tailwind
colors: {
  custom: {
    50: '#e5e190',
    500: '#d6d45e',
    950: '#000000',
  },
}
SCSS
$custom: #d6d45e;
$custom-light: #e5e190;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d45e",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 59,
    "s": 59.406,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84857,
    "c": 0.13998,
    "h": 108.1
  },
  "luminance": 0.62191
}

Semantic roles & 50–950 ramp

primary
#D6D45E
secondary
#3F4199
accent
#21C71E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D6D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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