#D6F342#D6F342

#D6F342 is a very light, vivid yellow. Relative luminance 0.788; OKLCH L 91.3% C 0.193 H 118.7°. Best body text is #000000 at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#D6F342
RGBrgb(214, 243, 66)
HSLhsl(70, 88%, 61%)
HSVhsv(70, 73%, 95%)
CMYKcmyk(11.9%, 0%, 72.8%, 4.7%)
CIE-LABlab(91.14, -31.07, 76.69)
CIE-LCHlch(91.14, 82.75, 112.06°)
OKLaboklab(91.3% -0.0927 0.1697)
OKLCHoklch(91.3% 0.193 118.7)
XYZxyz(60.7668, 78.7912, 17.1602)
Luminance0.7879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F342 #5F42F3
analogous
#F3B842 #D6F342 #7DF342
triadic
#D6F342 #42D6F3 #F342D6
tetradic
#D6F342 #42F3B8 #5F42F3 #F3427D
square
#D6F342 #42F3B8 #5F42F3 #F3427D
split-complementary
#D6F342 #427DF3 #B842F3
monochromatic
#95AF0B #C5E90F #D6F342 #E2F77C #EFFAB5

Accessibility & contrast

On white

1.25
#D6F342 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.76
#D6F342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F342
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F342#FFFFFF#000000##000000
##D6F3421.001.2516.7616.76
#FFFFFF1.251.0021.0021.00
#00000016.7621.001.001.00
##00000016.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE51C
Deuteranopia (green-blind)
#FFE651
Tritanopia (blue-blind)
#E3E6D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d6f342;
/* rgb */ color: rgb(214, 243, 66);
/* oklch */ color: oklch(91.3% 0.193 118.7);
Tailwind
colors: {
  custom: {
    50: '#e7f782',
    500: '#d6f342',
    950: '#000000',
  },
}
SCSS
$custom: #d6f342;
$custom-light: #e7f782;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f342",
  "rgb": {
    "r": 214,
    "g": 243,
    "b": 66
  },
  "hsl": {
    "h": 69.831,
    "s": 88.06,
    "l": 60.588
  },
  "oklch": {
    "l": 0.913,
    "c": 0.19336,
    "h": 118.7
  },
  "luminance": 0.78791
}

Semantic roles & 50–950 ramp

primary
#D6F342
secondary
#402AB0
accent
#01E526
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#16170B
muted
#85857E

Preview Lab

Preview with #D6F342

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

Preview Lab → · Contrast checker → · Palette generator →

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