#DCE870#DCE870

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

Color values

HEX#DCE870
RGBrgb(220, 232, 112)
HSLhsl(66, 72%, 67%)
HSVhsv(66, 52%, 91%)
CMYKcmyk(5.2%, 0%, 51.7%, 9%)
CIE-LABlab(88.97, -20.47, 56.27)
CIE-LCHlch(88.97, 59.88, 109.99°)
OKLaboklab(89.78% -0.0591 0.1323)
OKLCHoklch(89.78% 0.145 114.1)
XYZxyz(61.2975, 74.0997, 26.3997)
Luminance0.7410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE870 #7C70E8
analogous
#E8B870 #DCE870 #A0E870
triadic
#DCE870 #70DCE8 #E870DC
tetradic
#DCE870 #70E8B8 #7C70E8 #E870A0
square
#DCE870 #70E8B8 #7C70E8 #E870A0
split-complementary
#DCE870 #70A0E8 #B870E8
monochromatic
#AFBF1F #CFE03B #DCE870 #E9F0A5 #F6F9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE870#FFFFFF#000000##000000
##DCE8701.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)
#F6DE65
Deuteranopia (green-blind)
#F6E177
Tritanopia (blue-blind)
#E8DCCD
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #dce870;
/* rgb */ color: rgb(220, 232, 112);
/* oklch */ color: oklch(89.8% 0.145 114.1);
Tailwind
colors: {
  custom: {
    50: '#e9ef9c',
    500: '#dce870',
    950: '#000000',
  },
}
SCSS
$custom: #dce870;
$custom-light: #e9ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#dce870",
  "rgb": {
    "r": 220,
    "g": 232,
    "b": 112
  },
  "hsl": {
    "h": 66,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89781,
    "c": 0.14489,
    "h": 114.1
  },
  "luminance": 0.74099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DCE870

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

Preview Lab → · Contrast checker → · Palette generator →

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