#FEFF8B#FEFF8B

#FEFF8B is a very light, vivid yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.139 H 109.2°. Best body text is #000000 at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#FEFF8B
RGBrgb(254, 255, 139)
HSLhsl(61, 100%, 77%)
HSVhsv(61, 45%, 100%)
CMYKcmyk(0.4%, 0%, 45.5%, 0%)
CIE-LABlab(97.82, -15.97, 54.97)
CIE-LCHlch(97.82, 57.24, 106.20°)
OKLaboklab(97.56% -0.0456 0.1312)
OKLCHoklch(97.56% 0.139 109.2)
XYZxyz(81.2948, 94.4567, 38.3706)
Luminance0.9446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFF8B #8C8BFF
analogous
#FFC68B #FEFF8B #C4FF8B
triadic
#FEFF8B #8BFEFF #FF8BFE
tetradic
#FEFF8B #8BFFC6 #8C8BFF #FF8BC4
square
#FEFF8B #8BFFC6 #8C8BFF #FF8BC4
split-complementary
#FEFF8B #8BC4FF #C68BFF
monochromatic
#FDFF11 #FDFF4E #FEFF8B #FFFFC8 #FFFFE0

Accessibility & contrast

On white

1.06
#FEFF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.89
#FEFF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFF8B
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFF8B#FFFFFF#000000##000000
##FEFF8B1.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF681
Deuteranopia (green-blind)
#FFFB91
Tritanopia (blue-blind)
#FFF2E4
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #feff8b;
/* rgb */ color: rgb(254, 255, 139);
/* oklch */ color: oklch(97.6% 0.139 109.2);
Tailwind
colors: {
  custom: {
    50: '#ffffaf',
    500: '#feff8b',
    950: '#000000',
  },
}
SCSS
$custom: #feff8b;
$custom-light: #ffffaf;
$custom-dark: #000000;
JSON
{
  "hex": "#feff8b",
  "rgb": {
    "r": 254,
    "g": 255,
    "b": 139
  },
  "hsl": {
    "h": 60.517,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.97561,
    "c": 0.1389,
    "h": 109.2
  },
  "luminance": 0.94455
}

Semantic roles & 50–950 ramp

primary
#FEFF8B
secondary
#504EE0
accent
#00E602
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEFF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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