#DCE287#DCE287

#DCE287 is a very light, moderate yellow. Relative luminance 0.714; OKLCH L 88.8% C 0.114 H 111.8°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#DCE287
RGBrgb(220, 226, 135)
HSLhsl(64, 61%, 71%)
HSVhsv(64, 40%, 89%)
CMYKcmyk(2.7%, 0%, 40.3%, 11.4%)
CIE-LABlab(87.66, -15.32, 43.74)
CIE-LCHlch(87.66, 46.35, 109.30°)
OKLaboklab(88.83% -0.0424 0.1062)
OKLCHoklch(88.83% 0.114 111.8)
XYZxyz(61.0854, 71.3586, 33.4726)
Luminance0.7136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE287 #8D87E2
analogous
#E2BA87 #DCE287 #AEE287
triadic
#DCE287 #87DCE2 #E287DC
tetradic
#DCE287 #87E2BA #8D87E2 #E287AE
square
#DCE287 #87E2BA #8D87E2 #E287AE
split-complementary
#DCE287 #87AEE2 #BA87E2
monochromatic
#B7C02E #CED656 #DCE287 #EAEEB8 #F8F9E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DCE287#FFFFFF#000000##000000
##DCE2871.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)
#EFDA80
Deuteranopia (green-blind)
#EFDD8B
Tritanopia (blue-blind)
#E7D8CC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dce287;
/* rgb */ color: rgb(220, 226, 135);
/* oklch */ color: oklch(88.8% 0.114 111.8);
Tailwind
colors: {
  custom: {
    50: '#e8ebab',
    500: '#dce287',
    950: '#000000',
  },
}
SCSS
$custom: #dce287;
$custom-light: #e8ebab;
$custom-dark: #000000;
JSON
{
  "hex": "#dce287",
  "rgb": {
    "r": 220,
    "g": 226,
    "b": 135
  },
  "hsl": {
    "h": 63.956,
    "s": 61.074,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88825,
    "c": 0.1144,
    "h": 111.8
  },
  "luminance": 0.71358
}

Semantic roles & 50–950 ramp

primary
#DCE287
secondary
#5A53BA
accent
#1DC928
background
#FEFEFD
surface
#FDFDF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DCE287

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

Preview Lab → · Contrast checker → · Palette generator →

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