#DCE271#DCE271

#DCE271 is a very light, vivid yellow. Relative luminance 0.708; OKLCH L 88.5% C 0.137 H 111.6°. Best body text is #000000 at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#DCE271
RGBrgb(220, 226, 113)
HSLhsl(63, 66%, 66%)
HSVhsv(63, 50%, 89%)
CMYKcmyk(2.7%, 0%, 50%, 11.4%)
CIE-LABlab(87.39, -17.45, 53.95)
CIE-LCHlch(87.39, 56.71, 107.93°)
OKLaboklab(88.52% -0.0504 0.1274)
OKLCHoklch(88.52% 0.137 111.6)
XYZxyz(59.6934, 70.8018, 26.1411)
Luminance0.7080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE271 #7771E2
analogous
#E2B071 #DCE271 #A4E271
triadic
#DCE271 #71DCE2 #E271DC
tetradic
#DCE271 #71E2B0 #7771E2 #E271A4
square
#DCE271 #71E2B0 #7771E2 #E271A4
split-complementary
#DCE271 #71A4E2 #B071E2
monochromatic
#ACB425 #CFD83E #DCE271 #E9ECA4 #F5F7D7

Accessibility & contrast

On white

1.39
#DCE271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.16
#DCE271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE271
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE271#FFFFFF#000000##000000
##DCE2711.001.3915.1615.16
#FFFFFF1.391.0021.0021.00
#00000015.1621.001.001.00
##00000015.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D967
Deuteranopia (green-blind)
#F1DD77
Tritanopia (blue-blind)
#E8D7C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #dce271;
/* rgb */ color: rgb(220, 226, 113);
/* oklch */ color: oklch(88.5% 0.137 111.6);
Tailwind
colors: {
  custom: {
    50: '#e9eb9c',
    500: '#dce271',
    950: '#000000',
  },
}
SCSS
$custom: #dce271;
$custom-light: #e9eb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dce271",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 63.186,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.88521,
    "c": 0.13698,
    "h": 111.6
  },
  "luminance": 0.70801
}

Semantic roles & 50–950 ramp

primary
#DCE271
secondary
#4842B5
accent
#18CE21
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#16160E
muted
#85847F

Preview Lab

Preview with #DCE271

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

Preview Lab → · Contrast checker → · Palette generator →

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