#FFEF88#FFEF88

#FFEF88 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.4% C 0.125 H 100.6°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#FFEF88
RGBrgb(255, 239, 136)
HSLhsl(52, 100%, 77%)
HSVhsv(52, 47%, 100%)
CMYKcmyk(0%, 6.3%, 46.7%, 0%)
CIE-LABlab(93.79, -8.01, 51.48)
CIE-LCHlch(93.79, 52.10, 98.84°)
OKLaboklab(94.37% -0.0231 0.1233)
OKLCHoklch(94.37% 0.125 100.6)
XYZxyz(76.5525, 84.7731, 35.6181)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF88 #8898FF
analogous
#FFB488 #FFEF88 #D4FF88
triadic
#FFEF88 #88FFEF #EF88FF
tetradic
#FFEF88 #88FFB4 #8898FF #FF88D4
square
#FFEF88 #88FFB4 #8898FF #FF88D4
split-complementary
#FFEF88 #88D4FF #B488FF
monochromatic
#FFDF0E #FFE74B #FFEF88 #FFF7C5 #FFFBE0

Accessibility & contrast

On white

1.17
#FFEF88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#FFEF88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF88
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF88#FFFFFF#000000##000000
##FFEF881.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97F
Deuteranopia (green-blind)
#FFF08C
Tritanopia (blue-blind)
#FFE2D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef88;
/* rgb */ color: rgb(255, 239, 136);
/* oklch */ color: oklch(94.4% 0.125 100.6);
Tailwind
colors: {
  custom: {
    50: '#fff4ac',
    500: '#ffef88',
    950: '#000000',
  },
}
SCSS
$custom: #ffef88;
$custom-light: #fff4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef88",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 136
  },
  "hsl": {
    "h": 51.933,
    "s": 100,
    "l": 76.667
  },
  "oklch": {
    "l": 0.94366,
    "c": 0.12541,
    "h": 100.6
  },
  "luminance": 0.84771
}

Semantic roles & 50–950 ramp

primary
#FFEF88
secondary
#4C60DF
accent
#1FE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFEF88

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

Preview Lab → · Contrast checker → · Palette generator →

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