#DCEC7B#DCEC7B

#DCEC7B is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 90.8% C 0.139 H 115.9°. Best body text is #000000 at 16.33:1 contrast (WCAG AA passes).

Color values

HEX#DCEC7B
RGBrgb(220, 236, 123)
HSLhsl(68, 75%, 70%)
HSVhsv(68, 48%, 93%)
CMYKcmyk(6.8%, 0%, 47.9%, 7.5%)
CIE-LABlab(90.15, -21.41, 52.59)
CIE-LCHlch(90.15, 56.78, 112.15°)
OKLaboklab(90.77% -0.0607 0.1252)
OKLCHoklch(90.77% 0.139 115.9)
XYZxyz(63.0866, 76.6373, 30.2041)
Luminance0.7664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC7B #8B7BEC
analogous
#ECC47B #DCEC7B #A3EC7B
triadic
#DCEC7B #7BDCEC #EC7BDC
tetradic
#DCEC7B #7BECC4 #8B7BEC #EC7BA3
square
#DCEC7B #7BECC4 #8B7BEC #EC7BA3
split-complementary
#DCEC7B #7BA3EC #C47BEC
monochromatic
#B6CF1E #CEE446 #DCEC7B #EAF4B0 #F8FBE4

Accessibility & contrast

On white

1.29
#DCEC7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.33
#DCEC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC7B
16.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC7B#FFFFFF#000000##000000
##DCEC7B1.001.2916.3316.33
#FFFFFF1.291.0021.0021.00
#00000016.3321.001.001.00
##00000016.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E271
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#E7E1D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #dcec7b;
/* rgb */ color: rgb(220, 236, 123);
/* oklch */ color: oklch(90.8% 0.139 115.9);
Tailwind
colors: {
  custom: {
    50: '#e9f2a3',
    500: '#dcec7b',
    950: '#000000',
  },
}
SCSS
$custom: #dcec7b;
$custom-light: #e9f2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec7b",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 123
  },
  "hsl": {
    "h": 68.496,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.90767,
    "c": 0.13915,
    "h": 115.9
  },
  "luminance": 0.76637
}

Semantic roles & 50–950 ramp

primary
#DCEC7B
secondary
#5846C5
accent
#0FD72B
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #DCEC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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