#DCE97E#DCE97E

#DCE97E is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.2% C 0.132 H 114.8°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#DCE97E
RGBrgb(220, 233, 126)
HSLhsl(67, 71%, 70%)
HSVhsv(67, 46%, 91%)
CMYKcmyk(5.6%, 0%, 45.9%, 8.6%)
CIE-LABlab(89.39, -19.67, 50.25)
CIE-LCHlch(89.39, 53.96, 111.38°)
OKLaboklab(90.17% -0.0555 0.1203)
OKLCHoklch(90.17% 0.132 114.8)
XYZxyz(62.4208, 75.0006, 30.9229)
Luminance0.7500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCE97E #8B7EE9
analogous
#E9C17E #DCE97E #A6E97E
triadic
#DCE97E #7EDCE9 #E97EDC
tetradic
#DCE97E #7EE9C1 #8B7EE9 #E97EA6
square
#DCE97E #7EE9C1 #8B7EE9 #E97EA6
split-complementary
#DCE97E #7EA6E9 #C17EE9
monochromatic
#B6CA22 #CEE04A #DCE97E #EAF2B2 #F8FBE5

Accessibility & contrast

On white

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

On black

16.00
#DCE97E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCE97E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCE97E#FFFFFF#000000##000000
##DCE97E1.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E075
Deuteranopia (green-blind)
#F5E283
Tritanopia (blue-blind)
#E7DED0
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #dce97e;
/* rgb */ color: rgb(220, 233, 126);
/* oklch */ color: oklch(90.2% 0.132 114.8);
Tailwind
colors: {
  custom: {
    50: '#e8f0a5',
    500: '#dce97e',
    950: '#000000',
  },
}
SCSS
$custom: #dce97e;
$custom-light: #e8f0a5;
$custom-dark: #000000;
JSON
{
  "hex": "#dce97e",
  "rgb": {
    "r": 220,
    "g": 233,
    "b": 126
  },
  "hsl": {
    "h": 67.29,
    "s": 70.861,
    "l": 70.392
  },
  "oklch": {
    "l": 0.9017,
    "c": 0.13246,
    "h": 114.8
  },
  "luminance": 0.75
}

Semantic roles & 50–950 ramp

primary
#DCE97E
secondary
#5849C2
accent
#13D32A
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCE97E

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

Preview Lab → · Contrast checker → · Palette generator →

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