#FFEC88#FFEC88

#FFEC88 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.8% C 0.123 H 98.8°. Best body text is #000000 at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#FFEC88
RGBrgb(255, 236, 136)
HSLhsl(50, 100%, 77%)
HSVhsv(50, 47%, 100%)
CMYKcmyk(0%, 7.5%, 46.7%, 0%)
CIE-LABlab(93.03, -6.52, 50.55)
CIE-LCHlch(93.03, 50.97, 97.34°)
OKLaboklab(93.77% -0.0188 0.1212)
OKLCHoklch(93.77% 0.123 98.8)
XYZxyz(75.6815, 83.0311, 35.3278)
Luminance0.8303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEC88 #889BFF
analogous
#FFB188 #FFEC88 #D7FF88
triadic
#FFEC88 #88FFEC #EC88FF
tetradic
#FFEC88 #88FFB1 #889BFF #FF88D7
square
#FFEC88 #88FFB1 #889BFF #FF88D7
split-complementary
#FFEC88 #88D7FF #B188FF
monochromatic
#FFD80E #FFE24B #FFEC88 #FFF6C5 #FFFAE0

Accessibility & contrast

On white

1.19
#FFEC88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.61
#FFEC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEC88
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEC88#FFFFFF#000000##000000
##FFEC881.001.1917.6117.61
#FFFFFF1.191.0021.0021.00
#00000017.6121.001.001.00
##00000017.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE780
Deuteranopia (green-blind)
#FFEE8C
Tritanopia (blue-blind)
#FFDFD4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ffec88;
/* rgb */ color: rgb(255, 236, 136);
/* oklch */ color: oklch(93.8% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#fff1ac',
    500: '#ffec88',
    950: '#000000',
  },
}
SCSS
$custom: #ffec88;
$custom-light: #fff1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ffec88",
  "rgb": {
    "r": 255,
    "g": 236,
    "b": 136
  },
  "hsl": {
    "h": 50.42,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.93766,
    "c": 0.12264,
    "h": 98.8
  },
  "luminance": 0.83028
}

Semantic roles & 50–950 ramp

primary
#FFEC88
secondary
#4C63DF
accent
#25E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #FFEC88

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

Preview Lab → · Contrast checker → · Palette generator →

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