#FFEF89#FFEF89

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

Color values

HEX#FFEF89
RGBrgb(255, 239, 137)
HSLhsl(52, 100%, 77%)
HSVhsv(52, 46%, 100%)
CMYKcmyk(0%, 6.3%, 46.3%, 0%)
CIE-LABlab(93.80, -7.92, 51.02)
CIE-LCHlch(93.80, 51.63, 98.82°)
OKLaboklab(94.38% -0.0227 0.1223)
OKLCHoklch(94.38% 0.124 100.5)
XYZxyz(76.6239, 84.8017, 35.9942)
Luminance0.8480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF89 #8999FF
analogous
#FFB489 #FFEF89 #D4FF89
triadic
#FFEF89 #89FFEF #EF89FF
tetradic
#FFEF89 #89FFB4 #8999FF #FF89D4
square
#FFEF89 #89FFB4 #8999FF #FF89D4
split-complementary
#FFEF89 #89D4FF #B489FF
monochromatic
#FFDE0F #FFE74C #FFEF89 #FFF7C6 #FFFBE0

Accessibility & contrast

On white

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

On black

17.96
#FFEF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF89
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF89#FFFFFF#000000##000000
##FFEF891.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ffef89;
/* rgb */ color: rgb(255, 239, 137);
/* oklch */ color: oklch(94.4% 0.124 100.5);
Tailwind
colors: {
  custom: {
    50: '#fff4ad',
    500: '#ffef89',
    950: '#000000',
  },
}
SCSS
$custom: #ffef89;
$custom-light: #fff4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef89",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 137
  },
  "hsl": {
    "h": 51.864,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9438,
    "c": 0.1244,
    "h": 100.5
  },
  "luminance": 0.84799
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFEF89

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

Preview Lab → · Contrast checker → · Palette generator →

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