#DCE871#DCE871

#DCE871 is a very light, vivid yellow. Relative luminance 0.741; OKLCH L 89.8% C 0.144 H 114.1°. Best body text is #000000 at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#DCE871
RGBrgb(220, 232, 113)
HSLhsl(66, 72%, 68%)
HSVhsv(66, 51%, 91%)
CMYKcmyk(5.2%, 0%, 51.3%, 9%)
CIE-LABlab(88.98, -20.38, 55.83)
CIE-LCHlch(88.98, 59.43, 110.06°)
OKLaboklab(89.79% -0.0587 0.1314)
OKLCHoklch(89.79% 0.144 114.1)
XYZxyz(61.3535, 74.1221, 26.6945)
Luminance0.7412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE871 #7D71E8
analogous
#E8B871 #DCE871 #A1E871
triadic
#DCE871 #71DCE8 #E871DC
tetradic
#DCE871 #71E8B8 #7D71E8 #E871A1
square
#DCE871 #71E8B8 #7D71E8 #E871A1
split-complementary
#DCE871 #71A1E8 #B871E8
monochromatic
#AFC01F #CFDF3C #DCE871 #E9F1A6 #F6F9DA

Accessibility & contrast

On white

1.33
#DCE871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.82
#DCE871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE871
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE871#FFFFFF#000000##000000
##DCE8711.001.3315.8215.82
#FFFFFF1.331.0021.0021.00
#00000015.8221.001.001.00
##00000015.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#E8DDCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce871;
/* rgb */ color: rgb(220, 232, 113);
/* oklch */ color: oklch(89.8% 0.144 114.1);
Tailwind
colors: {
  custom: {
    50: '#e9ef9d',
    500: '#dce871',
    950: '#000000',
  },
}
SCSS
$custom: #dce871;
$custom-light: #e9ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce871",
  "rgb": {
    "r": 220,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 66.05,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89792,
    "c": 0.14395,
    "h": 114.1
  },
  "luminance": 0.74121
}

Semantic roles & 50–950 ramp

primary
#DCE871
secondary
#4C3FBF
accent
#11D425
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160E
muted
#85857F

Preview Lab

Preview with #DCE871

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

Preview Lab → · Contrast checker → · Palette generator →

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