#D6E252#D6E252

#D6E252 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.7% C 0.165 H 113.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#D6E252
RGBrgb(214, 226, 82)
HSLhsl(65, 71%, 60%)
HSVhsv(65, 64%, 89%)
CMYKcmyk(5.3%, 0%, 63.7%, 11.4%)
CIE-LABlab(86.65, -22.17, 66.45)
CIE-LCHlch(86.65, 70.05, 108.45°)
OKLaboklab(87.73% -0.0665 0.1506)
OKLCHoklch(87.73% 0.165 113.8)
XYZxyz(56.4524, 69.2991, 18.3832)
Luminance0.6930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E252 #5E52E2
analogous
#E2A652 #D6E252 #8EE252
triadic
#D6E252 #52D6E2 #E252D6
tetradic
#D6E252 #52E2A6 #5E52E2 #E2528E
square
#D6E252 #52E2A6 #5E52E2 #E2528E
split-complementary
#D6E252 #528EE2 #A652E2
monochromatic
#949F1B #C5D323 #D6E252 #E2EB86 #EFF4BB

Accessibility & contrast

On white

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

On black

14.86
#D6E252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E252
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E252#FFFFFF#000000##000000
##D6E2521.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83F
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#E3D5C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d6e252;
/* rgb */ color: rgb(214, 226, 82);
/* oklch */ color: oklch(87.7% 0.165 113.8);
Tailwind
colors: {
  custom: {
    50: '#e6eb89',
    500: '#d6e252',
    950: '#000000',
  },
}
SCSS
$custom: #d6e252;
$custom-light: #e6eb89;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e252",
  "rgb": {
    "r": 214,
    "g": 226,
    "b": 82
  },
  "hsl": {
    "h": 65,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.87729,
    "c": 0.16462,
    "h": 113.8
  },
  "luminance": 0.69298
}

Semantic roles & 50–950 ramp

primary
#D6E252
secondary
#3F36A2
accent
#12D322
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D6E252

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

Preview Lab → · Contrast checker → · Palette generator →

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