#FFEF81#FFEF81

#FFEF81 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.3% C 0.132 H 101.1°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#FFEF81
RGBrgb(255, 239, 129)
HSLhsl(52, 100%, 75%)
HSVhsv(52, 49%, 100%)
CMYKcmyk(0%, 6.3%, 49.4%, 0%)
CIE-LABlab(93.70, -8.63, 54.69)
CIE-LCHlch(93.70, 55.36, 98.96°)
OKLaboklab(94.27% -0.0255 0.1298)
OKLCHoklch(94.27% 0.132 101.1)
XYZxyz(76.0712, 84.5806, 33.0832)
Luminance0.8458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF81 #8191FF
analogous
#FFB081 #FFEF81 #D0FF81
triadic
#FFEF81 #81FFEF #EF81FF
tetradic
#FFEF81 #81FFB0 #8191FF #FF81D0
square
#FFEF81 #81FFB0 #8191FF #FF81D0
split-complementary
#FFEF81 #81D0FF #B081FF
monochromatic
#FFDF07 #FFE744 #FFEF81 #FFF7BE #FFFBE0

Accessibility & contrast

On white

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

On black

17.92
#FFEF81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF81
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF81#FFFFFF#000000##000000
##FFEF811.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFF086
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef81;
/* rgb */ color: rgb(255, 239, 129);
/* oklch */ color: oklch(94.3% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#fff4a8',
    500: '#ffef81',
    950: '#000000',
  },
}
SCSS
$custom: #ffef81;
$custom-light: #fff4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef81",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 129
  },
  "hsl": {
    "h": 52.381,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94273,
    "c": 0.1323,
    "h": 101.1
  },
  "luminance": 0.84578
}

Semantic roles & 50–950 ramp

primary
#FFEF81
secondary
#4659DE
accent
#1DE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFEF81

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

Preview Lab → · Contrast checker → · Palette generator →

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