#DCE371#DCE371

#DCE371 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.138 H 112.0°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#DCE371
RGBrgb(220, 227, 113)
HSLhsl(64, 67%, 67%)
HSVhsv(64, 50%, 89%)
CMYKcmyk(3.1%, 0%, 50.2%, 11%)
CIE-LABlab(87.65, -17.94, 54.27)
CIE-LCHlch(87.65, 57.16, 108.30°)
OKLaboklab(88.73% -0.0518 0.128)
OKLCHoklch(88.73% 0.138 112)
XYZxyz(59.9661, 71.3472, 26.2320)
Luminance0.7135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE371 #7871E3
analogous
#E3B171 #DCE371 #A3E371
triadic
#DCE371 #71DCE3 #E371DC
tetradic
#DCE371 #71E3B1 #7871E3 #E371A3
square
#DCE371 #71E3B1 #7871E3 #E371A3
split-complementary
#DCE371 #71A3E3 #B171E3
monochromatic
#ADB624 #CFD93E #DCE371 #E9EDA4 #F5F7D7

Accessibility & contrast

On white

1.38
#DCE371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#DCE371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE371
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE371#FFFFFF#000000##000000
##DCE3711.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DA66
Deuteranopia (green-blind)
#F2DD77
Tritanopia (blue-blind)
#E8D8C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dce371;
/* rgb */ color: rgb(220, 227, 113);
/* oklch */ color: oklch(88.7% 0.138 112.0);
Tailwind
colors: {
  custom: {
    50: '#e9eb9d',
    500: '#dce371',
    950: '#000000',
  },
}
SCSS
$custom: #dce371;
$custom-light: #e9eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#dce371",
  "rgb": {
    "r": 220,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 63.684,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.88733,
    "c": 0.13813,
    "h": 112
  },
  "luminance": 0.71346
}

Semantic roles & 50–950 ramp

primary
#DCE371
secondary
#4942B6
accent
#17CF22
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DCE371

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

Preview Lab → · Contrast checker → · Palette generator →

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