#D6D045#D6D045

#D6D045 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 83.8% C 0.155 H 106.9°. Best body text is #000000 at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#D6D045
RGBrgb(214, 208, 69)
HSLhsl(58, 64%, 55%)
HSVhsv(58, 68%, 84%)
CMYKcmyk(0%, 2.8%, 67.8%, 16.1%)
CIE-LABlab(81.75, -14.08, 66.46)
CIE-LCHlch(81.75, 67.94, 101.96°)
OKLaboklab(83.78% -0.0451 0.1486)
OKLCHoklch(83.78% 0.155 106.9)
XYZxyz(51.3635, 59.8393, 14.4736)
Luminance0.5984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D045 #454BD6
analogous
#D68745 #D6D045 #94D645
triadic
#D6D045 #45D6D0 #D045D6
tetradic
#D6D045 #45D687 #454BD6 #D64594
square
#D6D045 #45D687 #454BD6 #D64594
split-complementary
#D6D045 #4594D6 #8745D6
monochromatic
#847F1D #B6B028 #D6D045 #E1DD77 #ECE9A9

Accessibility & contrast

On white

1.62
#D6D045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.97
#D6D045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D045
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D045#FFFFFF#000000##000000
##D6D0451.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C830
Deuteranopia (green-blind)
#E4CE4E
Tritanopia (blue-blind)
#E5C3B4
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d6d045;
/* rgb */ color: rgb(214, 208, 69);
/* oklch */ color: oklch(83.8% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e6de81',
    500: '#d6d045',
    950: '#000000',
  },
}
SCSS
$custom: #d6d045;
$custom-light: #e6de81;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d045",
  "rgb": {
    "r": 214,
    "g": 208,
    "b": 69
  },
  "hsl": {
    "h": 57.517,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83784,
    "c": 0.1553,
    "h": 106.9
  },
  "luminance": 0.59838
}

Semantic roles & 50–950 ramp

primary
#D6D045
secondary
#35388A
accent
#48E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D6D045

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

Preview Lab → · Contrast checker → · Palette generator →

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