#D6E052#D6E052

#D6E052 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.3% C 0.162 H 113.1°. Best body text is #000000 at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#D6E052
RGBrgb(214, 224, 82)
HSLhsl(64, 70%, 60%)
HSVhsv(64, 63%, 88%)
CMYKcmyk(4.5%, 0%, 63.4%, 12.2%)
CIE-LABlab(86.12, -21.21, 65.88)
CIE-LCHlch(86.12, 69.21, 107.84°)
OKLaboklab(87.3% -0.0638 0.1494)
OKLCHoklch(87.3% 0.162 113.1)
XYZxyz(55.9117, 68.2178, 18.2030)
Luminance0.6822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6E052 #5C52E0
analogous
#E0A352 #D6E052 #8FE052
triadic
#D6E052 #52D6E0 #E052D6
tetradic
#D6E052 #52E0A3 #5C52E0 #E0528F
square
#D6E052 #52E0A3 #5C52E0 #E0528F
split-complementary
#D6E052 #528FE0 #A352E0
monochromatic
#939C1C #C4D025 #D6E052 #E2E986 #EFF3BA

Accessibility & contrast

On white

1.43
#D6E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.64
#D6E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6E052
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6E052#FFFFFF#000000##000000
##D6E0521.001.4314.6414.64
#FFFFFF1.431.0021.0021.00
#00000014.6421.001.001.00
##00000014.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D63F
Deuteranopia (green-blind)
#F0D95B
Tritanopia (blue-blind)
#E3D3C3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d6e052;
/* rgb */ color: rgb(214, 224, 82);
/* oklch */ color: oklch(87.3% 0.162 113.1);
Tailwind
colors: {
  custom: {
    50: '#e6e989',
    500: '#d6e052',
    950: '#000000',
  },
}
SCSS
$custom: #d6e052;
$custom-light: #e6e989;
$custom-dark: #000000;
JSON
{
  "hex": "#d6e052",
  "rgb": {
    "r": 214,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 64.225,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.873,
    "c": 0.16245,
    "h": 113.1
  },
  "luminance": 0.68217
}

Semantic roles & 50–950 ramp

primary
#D6E052
secondary
#3E379F
accent
#3BEC48
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#16160C
muted
#85847F

Preview Lab

Preview with #D6E052

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

Preview Lab → · Contrast checker → · Palette generator →

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