#D6E340#D6E340

#D6E340 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 87.8% C 0.177 H 114.1°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#D6E340
RGBrgb(214, 227, 64)
HSLhsl(65, 74%, 57%)
HSVhsv(65, 72%, 89%)
CMYKcmyk(5.7%, 0%, 71.8%, 11%)
CIE-LABlab(86.80, -23.63, 73.21)
CIE-LCHlch(86.80, 76.93, 107.89°)
OKLaboklab(87.81% -0.0723 0.162)
OKLCHoklch(87.81% 0.177 114.1)
XYZxyz(56.1277, 69.6056, 15.3280)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E340 #4D40E3
analogous
#E39E40 #D6E340 #85E340
triadic
#D6E340 #40D6E3 #E340D6
tetradic
#D6E340 #40E39E #4D40E3 #E34085
square
#D6E340 #40E39E #4D40E3 #E34085
split-complementary
#D6E340 #4085E3 #9E40E3
monochromatic
#899316 #BBC81D #D6E340 #E1EB75 #EDF3AB

Accessibility & contrast

On white

1.41
#D6E340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.92
#D6E340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E340
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E340#FFFFFF#000000##000000
##D6E3401.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D820
Deuteranopia (green-blind)
#F3DB4D
Tritanopia (blue-blind)
#E4D6C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d6e340;
/* rgb */ color: rgb(214, 227, 64);
/* oklch */ color: oklch(87.8% 0.177 114.1);
Tailwind
colors: {
  custom: {
    50: '#e6eb80',
    500: '#d6e340',
    950: '#000000',
  },
}
SCSS
$custom: #d6e340;
$custom-light: #e6eb80;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e340",
  "rgb": {
    "r": 214,
    "g": 227,
    "b": 64
  },
  "hsl": {
    "h": 64.785,
    "s": 74.429,
    "l": 57.059
  },
  "oklch": {
    "l": 0.87813,
    "c": 0.17739,
    "h": 114.1
  },
  "luminance": 0.69604
}

Semantic roles & 50–950 ramp

primary
#D6E340
secondary
#383097
accent
#37F146
background
#FFFEFB
surface
#FEFDF2
border
#D6D5CC
text
#16160B
muted
#85847E

Preview Lab

Preview with #D6E340

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

Preview Lab → · Contrast checker → · Palette generator →

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