#D6D43C#D6D43C

#D6D43C is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.6% C 0.165 H 108.7°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D6D43C
RGBrgb(214, 212, 60)
HSLhsl(59, 65%, 54%)
HSVhsv(59, 72%, 84%)
CMYKcmyk(0%, 0.9%, 72%, 16.1%)
CIE-LABlab(82.76, -16.51, 70.69)
CIE-LCHlch(82.76, 72.59, 103.14°)
OKLaboklab(84.57% -0.0528 0.156)
OKLCHoklch(84.57% 0.165 108.7)
XYZxyz(52.0926, 61.7110, 13.4415)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D43C #3C3ED6
analogous
#D6873C #D6D43C #8BD63C
triadic
#D6D43C #3CD6D4 #D43CD6
tetradic
#D6D43C #3CD687 #3C3ED6 #D63C8B
square
#D6D43C #3CD687 #3C3ED6 #D63C8B
split-complementary
#D6D43C #3C8BD6 #873CD6
monochromatic
#7D7C1A #B0AE25 #D6D43C #E1DF6F #EBEAA1

Accessibility & contrast

On white

1.57
#D6D43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D6D43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D43C
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D43C#FFFFFF#000000##000000
##D6D43C1.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB1E
Deuteranopia (green-blind)
#E8D048
Tritanopia (blue-blind)
#E5C6B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d6d43c;
/* rgb */ color: rgb(214, 212, 60);
/* oklch */ color: oklch(84.6% 0.165 108.7);
Tailwind
colors: {
  custom: {
    50: '#e6e07c',
    500: '#d6d43c',
    950: '#000000',
  },
}
SCSS
$custom: #d6d43c;
$custom-light: #e6e07c;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d43c",
  "rgb": {
    "r": 214,
    "g": 212,
    "b": 60
  },
  "hsl": {
    "h": 59.221,
    "s": 65.254,
    "l": 53.725
  },
  "oklch": {
    "l": 0.84571,
    "c": 0.16468,
    "h": 108.7
  },
  "luminance": 0.61709
}

Semantic roles & 50–950 ramp

primary
#D6D43C
secondary
#313385
accent
#42E840
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D6D43C

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

Preview Lab → · Contrast checker → · Palette generator →

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