#FFEF86#FFEF86

#FFEF86 is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.3% C 0.127 H 100.8°. Best body text is #000000 at 17.94:1 contrast (WCAG AA passes).

Color values

HEX#FFEF86
RGBrgb(255, 239, 134)
HSLhsl(52, 100%, 76%)
HSVhsv(52, 47%, 100%)
CMYKcmyk(0%, 6.3%, 47.5%, 0%)
CIE-LABlab(93.76, -8.19, 52.40)
CIE-LCHlch(93.76, 53.04, 98.88°)
OKLaboklab(94.34% -0.0238 0.1252)
OKLCHoklch(94.34% 0.127 100.8)
XYZxyz(76.4117, 84.7168, 34.8766)
Luminance0.8471 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFEF86 #8696FF
analogous
#FFB386 #FFEF86 #D3FF86
triadic
#FFEF86 #86FFEF #EF86FF
tetradic
#FFEF86 #86FFB3 #8696FF #FF86D3
square
#FFEF86 #86FFB3 #8696FF #FF86D3
split-complementary
#FFEF86 #86D3FF #B386FF
monochromatic
#FFDF0C #FFE749 #FFEF86 #FFF7C3 #FFFBE0

Accessibility & contrast

On white

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

On black

17.94
#FFEF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFEF86
17.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFEF86#FFFFFF#000000##000000
##FFEF861.001.1717.9417.94
#FFFFFF1.171.0021.0021.00
#00000017.9421.001.001.00
##00000017.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE97D
Deuteranopia (green-blind)
#FFF08B
Tritanopia (blue-blind)
#FFE2D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ffef86;
/* rgb */ color: rgb(255, 239, 134);
/* oklch */ color: oklch(94.3% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#fff4ab',
    500: '#ffef86',
    950: '#000000',
  },
}
SCSS
$custom: #ffef86;
$custom-light: #fff4ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ffef86",
  "rgb": {
    "r": 255,
    "g": 239,
    "b": 134
  },
  "hsl": {
    "h": 52.066,
    "s": 100,
    "l": 76.275
  },
  "oklch": {
    "l": 0.94339,
    "c": 0.1274,
    "h": 100.8
  },
  "luminance": 0.84714
}

Semantic roles & 50–950 ramp

primary
#FFEF86
secondary
#4A5EDF
accent
#1EE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFEF86

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

Preview Lab → · Contrast checker → · Palette generator →

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