#DCE381#DCE381

#DCE381 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 88.9% C 0.122 H 112.2°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#DCE381
RGBrgb(220, 227, 129)
HSLhsl(64, 64%, 70%)
HSVhsv(64, 43%, 89%)
CMYKcmyk(3.1%, 0%, 43.2%, 11%)
CIE-LABlab(87.84, -16.44, 46.90)
CIE-LCHlch(87.84, 49.70, 109.31°)
OKLaboklab(88.95% -0.0461 0.113)
OKLCHoklch(88.95% 0.122 112.2)
XYZxyz(60.9476, 71.7398, 31.4011)
Luminance0.7174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE381 #8881E3
analogous
#E3B981 #DCE381 #ABE381
triadic
#DCE381 #81DCE3 #E381DC
tetradic
#DCE381 #81E3B9 #8881E3 #E381AB
square
#DCE381 #81E3B9 #8881E3 #E381AB
split-complementary
#DCE381 #81ABE3 #B981E3
monochromatic
#B5BF2A #CED84F #DCE381 #EAEEB3 #F8F9E5

Accessibility & contrast

On white

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

On black

15.35
#DCE381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE381
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE381#FFFFFF#000000##000000
##DCE3811.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DB79
Deuteranopia (green-blind)
#F0DE86
Tritanopia (blue-blind)
#E7D9CC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #dce381;
/* rgb */ color: rgb(220, 227, 129);
/* oklch */ color: oklch(88.9% 0.122 112.2);
Tailwind
colors: {
  custom: {
    50: '#e8eba7',
    500: '#dce381',
    950: '#000000',
  },
}
SCSS
$custom: #dce381;
$custom-light: #e8eba7;
$custom-dark: #000000;
JSON
{
  "hex": "#dce381",
  "rgb": {
    "r": 220,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 64.286,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.88946,
    "c": 0.12205,
    "h": 112.2
  },
  "luminance": 0.71739
}

Semantic roles & 50–950 ramp

primary
#DCE381
secondary
#554DBB
accent
#1ACB27
background
#FEFEFC
surface
#FDFDF6
border
#D5D5D0
text
#161610
muted
#848480

Preview Lab

Preview with #DCE381

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

Preview Lab → · Contrast checker → · Palette generator →

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