#DCE28F#DCE28F

#DCE28F is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.0% C 0.106 H 111.9°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#DCE28F
RGBrgb(220, 226, 143)
HSLhsl(64, 59%, 72%)
HSVhsv(64, 37%, 89%)
CMYKcmyk(2.7%, 0%, 36.7%, 11.4%)
CIE-LABlab(87.77, -14.43, 39.92)
CIE-LCHlch(87.77, 42.45, 109.88°)
OKLaboklab(88.95% -0.0393 0.0979)
OKLCHoklch(88.95% 0.106 111.9)
XYZxyz(61.6700, 71.5924, 36.5513)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE28F #958FE2
analogous
#E2BE8F #DCE28F #B3E28F
triadic
#DCE28F #8FDCE2 #E28FDC
tetradic
#DCE28F #8FE2BE #958FE2 #E28FB3
square
#DCE28F #8FE2BE #958FE2 #E28FB3
split-complementary
#DCE28F #8FB3E2 #BE8FE2
monochromatic
#B9C433 #CDD55E #DCE28F #EBEFC0 #F7F9E7

Accessibility & contrast

On white

1.37
#DCE28F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#DCE28F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE28F
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE28F#FFFFFF#000000##000000
##DCE28F1.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDB89
Deuteranopia (green-blind)
#EEDD93
Tritanopia (blue-blind)
#E6D9CD
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dce28f;
/* rgb */ color: rgb(220, 226, 143);
/* oklch */ color: oklch(89.0% 0.106 111.9);
Tailwind
colors: {
  custom: {
    50: '#e8ebb1',
    500: '#dce28f',
    950: '#000000',
  },
}
SCSS
$custom: #dce28f;
$custom-light: #e8ebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#dce28f",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 143
  },
  "hsl": {
    "h": 64.337,
    "s": 58.865,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88952,
    "c": 0.10551,
    "h": 111.9
  },
  "luminance": 0.71592
}

Semantic roles & 50–950 ramp

primary
#DCE28F
secondary
#625BBB
accent
#1FC62B
background
#FEFEFD
surface
#FDFDF7
border
#D5D5D0
text
#161611
muted
#848481

Preview Lab

Preview with #DCE28F

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

Preview Lab → · Contrast checker → · Palette generator →

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