#DCE38E#DCE38E

#DCE38E is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.1% C 0.108 H 112.4°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#DCE38E
RGBrgb(220, 227, 142)
HSLhsl(65, 60%, 72%)
HSVhsv(65, 37%, 89%)
CMYKcmyk(3.1%, 0%, 37.4%, 11%)
CIE-LABlab(88.02, -15.04, 40.74)
CIE-LCHlch(88.02, 43.42, 110.27°)
OKLaboklab(89.14% -0.0411 0.0997)
OKLCHoklch(89.14% 0.108 112.4)
XYZxyz(61.8673, 72.1077, 36.2450)
Luminance0.7211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE38E #958EE3
analogous
#E3BF8E #DCE38E #B2E38E
triadic
#DCE38E #8EDCE3 #E38EDC
tetradic
#DCE38E #8EE3BF #958EE3 #E38EB2
square
#DCE38E #8EE3BF #958EE3 #E38EB2
split-complementary
#DCE38E #8EB2E3 #BF8EE3
monochromatic
#B9C631 #CDD75D #DCE38E #EBEFBF #F7F9E6

Accessibility & contrast

On white

1.36
#DCE38E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#DCE38E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE38E
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE38E#FFFFFF#000000##000000
##DCE38E1.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDC88
Deuteranopia (green-blind)
#EFDE92
Tritanopia (blue-blind)
#E6DACE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #dce38e;
/* rgb */ color: rgb(220, 227, 142);
/* oklch */ color: oklch(89.1% 0.108 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8ebb0',
    500: '#dce38e',
    950: '#000000',
  },
}
SCSS
$custom: #dce38e;
$custom-light: #e8ebb0;
$custom-dark: #000000;
JSON
{
  "hex": "#dce38e",
  "rgb": {
    "r": 220,
    "g": 227,
    "b": 142
  },
  "hsl": {
    "h": 64.941,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.89144,
    "c": 0.10789,
    "h": 112.4
  },
  "luminance": 0.72107
}

Semantic roles & 50–950 ramp

primary
#DCE38E
secondary
#6259BC
accent
#1EC82C
background
#FEFEFD
surface
#FDFDF7
border
#D5D5D0
text
#161610
muted
#848481

Preview Lab

Preview with #DCE38E

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

Preview Lab → · Contrast checker → · Palette generator →

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