#D6D845#D6D845

#D6D845 is a very light, vivid yellow. Relative luminance 0.638; OKLCH L 85.5% C 0.163 H 110.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#D6D845
RGBrgb(214, 216, 69)
HSLhsl(61, 65%, 56%)
HSVhsv(61, 68%, 85%)
CMYKcmyk(0.9%, 0%, 68.1%, 15.3%)
CIE-LABlab(83.88, -18.04, 68.60)
CIE-LCHlch(83.88, 70.93, 104.74°)
OKLaboklab(85.49% -0.0562 0.1531)
OKLCHoklch(85.49% 0.163 110.2)
XYZxyz(53.3634, 63.8390, 15.1402)
Luminance0.6384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D845 #4745D8
analogous
#D89045 #D6D845 #8CD845
triadic
#D6D845 #45D6D8 #D845D6
tetradic
#D6D845 #45D890 #4745D8 #D8458C
square
#D6D845 #45D890 #4745D8 #D8458C
split-complementary
#D6D845 #458CD8 #9045D8
monochromatic
#85861C #B7B927 #D6D845 #E1E378 #ECEDAA

Accessibility & contrast

On white

1.53
#D6D845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.77
#D6D845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D845
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D845#FFFFFF#000000##000000
##D6D8451.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF2E
Deuteranopia (green-blind)
#EAD34F
Tritanopia (blue-blind)
#E5CBBB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d6d845;
/* rgb */ color: rgb(214, 216, 69);
/* oklch */ color: oklch(85.5% 0.163 110.2);
Tailwind
colors: {
  custom: {
    50: '#e6e381',
    500: '#d6d845',
    950: '#000000',
  },
}
SCSS
$custom: #d6d845;
$custom-light: #e6e381;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d845",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 69
  },
  "hsl": {
    "h": 60.816,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.85485,
    "c": 0.1631,
    "h": 110.2
  },
  "luminance": 0.63838
}

Semantic roles & 50–950 ramp

primary
#D6D845
secondary
#36348D
accent
#40E842
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D845

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

Preview Lab → · Contrast checker → · Palette generator →

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