#DCE771#DCE771

#DCE771 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 89.6% C 0.143 H 113.7°. Best body text is #000000 at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#DCE771
RGBrgb(220, 231, 113)
HSLhsl(66, 71%, 67%)
HSVhsv(66, 51%, 91%)
CMYKcmyk(4.8%, 0%, 51.1%, 9.4%)
CIE-LABlab(88.71, -19.90, 55.51)
CIE-LCHlch(88.71, 58.97, 109.72°)
OKLaboklab(89.58% -0.0574 0.1308)
OKLCHoklch(89.58% 0.143 113.7)
XYZxyz(61.0728, 73.5607, 26.6010)
Luminance0.7356 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE771 #7C71E7
analogous
#E7B771 #DCE771 #A1E771
triadic
#DCE771 #71DCE7 #E771DC
tetradic
#DCE771 #71E7B7 #7C71E7 #E771A1
square
#DCE771 #71E7B7 #7C71E7 #E771A1
split-complementary
#DCE771 #71A1E7 #B771E7
monochromatic
#AFBE20 #CFDE3D #DCE771 #E9F0A5 #F6F9DA

Accessibility & contrast

On white

1.34
#DCE771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.71
#DCE771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE771
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE771#FFFFFF#000000##000000
##DCE7711.001.3415.7115.71
#FFFFFF1.341.0021.0021.00
#00000015.7121.001.001.00
##00000015.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#F5E077
Tritanopia (blue-blind)
#E8DCCC
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce771;
/* rgb */ color: rgb(220, 231, 113);
/* oklch */ color: oklch(89.6% 0.143 113.7);
Tailwind
colors: {
  custom: {
    50: '#e9ee9d',
    500: '#dce771',
    950: '#000000',
  },
}
SCSS
$custom: #dce771;
$custom-light: #e9ee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce771",
  "rgb": {
    "r": 220,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 65.593,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.8958,
    "c": 0.14279,
    "h": 113.7
  },
  "luminance": 0.7356
}

Semantic roles & 50–950 ramp

primary
#DCE771
secondary
#4B3FBD
accent
#12D324
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#16160E
muted
#85857F

Preview Lab

Preview with #DCE771

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

Preview Lab → · Contrast checker → · Palette generator →

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