#EDEC99#EDEC99

#EDEC99 is a very light, moderate yellow. Relative luminance 0.803; OKLCH L 92.5% C 0.104 H 107.7°. Best body text is #000000 at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#EDEC99
RGBrgb(237, 236, 153)
HSLhsl(59, 70%, 76%)
HSVhsv(59, 35%, 93%)
CMYKcmyk(0%, 0.4%, 35.4%, 7.1%)
CIE-LABlab(91.82, -11.76, 40.41)
CIE-LCHlch(91.82, 42.09, 106.23°)
OKLaboklab(92.53% -0.0317 0.0993)
OKLCHoklch(92.53% 0.104 107.7)
XYZxyz(70.6711, 80.2967, 41.9068)
Luminance0.8030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EDEC99 #999AED
analogous
#EDC299 #EDEC99 #C4ED99
triadic
#EDEC99 #99EDEC #EC99ED
tetradic
#EDEC99 #99EDC2 #999AED #ED99C4
square
#EDEC99 #99EDC2 #999AED #ED99C4
split-complementary
#EDEC99 #99C4ED #C299ED
monochromatic
#DBD931 #E4E265 #EDEC99 #F6F6CD #FAFAE5

Accessibility & contrast

On white

1.23
#EDEC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.06
#EDEC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EDEC99
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EDEC99#FFFFFF#000000##000000
##EDEC991.001.2317.0617.06
#FFFFFF1.231.0021.0021.00
#00000017.0621.001.001.00
##00000017.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E693
Deuteranopia (green-blind)
#FBE99C
Tritanopia (blue-blind)
#F8E2D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #edec99;
/* rgb */ color: rgb(237, 236, 153);
/* oklch */ color: oklch(92.5% 0.104 107.7);
Tailwind
colors: {
  custom: {
    50: '#f4f2b8',
    500: '#edec99',
    950: '#000000',
  },
}
SCSS
$custom: #edec99;
$custom-light: #f4f2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#edec99",
  "rgb": {
    "r": 237,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 59.286,
    "s": 70,
    "l": 76.471
  },
  "oklch": {
    "l": 0.92534,
    "c": 0.10427,
    "h": 107.7
  },
  "luminance": 0.80295
}

Semantic roles & 50–950 ramp

primary
#EDEC99
secondary
#6162C9
accent
#16D214
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #EDEC99

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

Preview Lab → · Contrast checker → · Palette generator →

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