#DCEC5A#DCEC5A

#DCEC5A is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 90.4% C 0.168 H 115.1°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#DCEC5A
RGBrgb(220, 236, 90)
HSLhsl(67, 79%, 64%)
HSVhsv(67, 62%, 93%)
CMYKcmyk(6.8%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.83, -24.05, 66.74)
CIE-LCHlch(89.83, 70.94, 109.82°)
OKLaboklab(90.41% -0.0714 0.1522)
OKLCHoklch(90.41% 0.168 115.1)
XYZxyz(61.3575, 75.9457, 21.0976)
Luminance0.7594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCEC5A #6A5AEC
analogous
#ECB35A #DCEC5A #93EC5A
triadic
#DCEC5A #5ADCEC #EC5ADC
tetradic
#DCEC5A #5AECB3 #6A5AEC #EC5A93
square
#DCEC5A #5AECB3 #6A5AEC #EC5A93
split-complementary
#DCEC5A #5A93EC #B35AEC
monochromatic
#A5B715 #D0E623 #DCEC5A #E8F291 #F3F9C8

Accessibility & contrast

On white

1.30
#DCEC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#DCEC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCEC5A
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCEC5A#FFFFFF#000000##000000
##DCEC5A1.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FBE364
Tritanopia (blue-blind)
#E9DFCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #dcec5a;
/* rgb */ color: rgb(220, 236, 90);
/* oklch */ color: oklch(90.4% 0.168 115.1);
Tailwind
colors: {
  custom: {
    50: '#eaf28f',
    500: '#dcec5a',
    950: '#000000',
  },
}
SCSS
$custom: #dcec5a;
$custom-light: #eaf28f;
$custom-dark: #000000;
JSON
{
  "hex": "#dcec5a",
  "rgb": {
    "r": 220,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 66.575,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90407,
    "c": 0.16807,
    "h": 115.1
  },
  "luminance": 0.75945
}

Semantic roles & 50–950 ramp

primary
#DCEC5A
secondary
#4234B6
accent
#0ADC21
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #DCEC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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