#DCEF7A#DCEF7A

#DCEF7A is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.4% C 0.144 H 117.0°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#DCEF7A
RGBrgb(220, 239, 122)
HSLhsl(70, 79%, 71%)
HSVhsv(70, 49%, 94%)
CMYKcmyk(7.9%, 0%, 49%, 6.3%)
CIE-LABlab(90.94, -22.95, 54.00)
CIE-LCHlch(90.94, 58.67, 113.02°)
OKLaboklab(91.39% -0.0652 0.1282)
OKLCHoklch(91.39% 0.144 117)
XYZxyz(63.8953, 78.3544, 30.1665)
Luminance0.7835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEF7A #8D7AEF
analogous
#EFC87A #DCEF7A #A1EF7A
triadic
#DCEF7A #7ADCEF #EF7ADC
tetradic
#DCEF7A #7AEFC8 #8D7AEF #EF7AA1
square
#DCEF7A #7AEFC8 #8D7AEF #EF7AA1
split-complementary
#DCEF7A #7AA1EF #C87AEF
monochromatic
#B7D51A #CEE843 #DCEF7A #EAF6B1 #F8FCE4

Accessibility & contrast

On white

1.26
#DCEF7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#DCEF7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEF7A
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEF7A#FFFFFF#000000##000000
##DCEF7A1.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE56F
Deuteranopia (green-blind)
#FBE680
Tritanopia (blue-blind)
#E7E4D4
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #dcef7a;
/* rgb */ color: rgb(220, 239, 122);
/* oklch */ color: oklch(91.4% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#e9f4a3',
    500: '#dcef7a',
    950: '#000000',
  },
}
SCSS
$custom: #dcef7a;
$custom-light: #e9f4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcef7a",
  "rgb": {
    "r": 220,
    "g": 239,
    "b": 122
  },
  "hsl": {
    "h": 69.744,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91393,
    "c": 0.14383,
    "h": 117
  },
  "luminance": 0.78354
}

Semantic roles & 50–950 ramp

primary
#DCEF7A
secondary
#5A44C9
accent
#0BDB2C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #DCEF7A

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

Preview Lab → · Contrast checker → · Palette generator →

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