#DCE987#DCE987

#DCE987 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.3% C 0.123 H 115.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#DCE987
RGBrgb(220, 233, 135)
HSLhsl(68, 69%, 72%)
HSVhsv(68, 42%, 91%)
CMYKcmyk(5.6%, 0%, 42.1%, 8.6%)
CIE-LABlab(89.51, -18.76, 46.06)
CIE-LCHlch(89.51, 49.73, 112.16°)
OKLaboklab(90.3% -0.0522 0.1115)
OKLCHoklch(90.3% 0.123 115.1)
XYZxyz(63.0279, 75.2435, 34.1201)
Luminance0.7524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE987 #9487E9
analogous
#E9C587 #DCE987 #ABE987
triadic
#DCE987 #87DCE9 #E987DC
tetradic
#DCE987 #87E9C5 #9487E9 #E987AB
square
#DCE987 #87E9C5 #9487E9 #E987AB
split-complementary
#DCE987 #87ABE9 #C587E9
monochromatic
#B9D026 #CDE053 #DCE987 #EBF2BB #F7FAE5

Accessibility & contrast

On white

1.31
#DCE987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#DCE987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE987
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE987#FFFFFF#000000##000000
##DCE9871.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E07F
Deuteranopia (green-blind)
#F5E28C
Tritanopia (blue-blind)
#E6DFD1
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dce987;
/* rgb */ color: rgb(220, 233, 135);
/* oklch */ color: oklch(90.3% 0.123 115.1);
Tailwind
colors: {
  custom: {
    50: '#e8f0ab',
    500: '#dce987',
    950: '#000000',
  },
}
SCSS
$custom: #dce987;
$custom-light: #e8f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#dce987",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 135
  },
  "hsl": {
    "h": 67.959,
    "s": 69.014,
    "l": 72.157
  },
  "oklch": {
    "l": 0.90298,
    "c": 0.1231,
    "h": 115.1
  },
  "luminance": 0.75243
}

Semantic roles & 50–950 ramp

primary
#DCE987
secondary
#6152C3
accent
#15D12E
background
#FEFFFD
surface
#FDFEF7
border
#D5D6D0
text
#161610
muted
#848581

Preview Lab

Preview with #DCE987

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

Preview Lab → · Contrast checker → · Palette generator →

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