#FEFB8A#FEFB8A

#FEFB8A is a very light, vivid yellow. Relative luminance 0.919; OKLCH L 96.7% C 0.136 H 107.3°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FEFB8A
RGBrgb(254, 251, 138)
HSLhsl(58, 98%, 77%)
HSVhsv(58, 46%, 100%)
CMYKcmyk(0%, 1.2%, 45.7%, 0.4%)
CIE-LABlab(96.78, -14.12, 54.17)
CIE-LCHlch(96.78, 55.98, 104.60°)
OKLaboklab(96.73% -0.0404 0.1294)
OKLCHoklch(96.73% 0.136 107.3)
XYZxyz(79.9594, 91.9021, 37.5667)
Luminance0.9190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB8A #8A8DFE
analogous
#FEC18A #FEFB8A #C7FE8A
triadic
#FEFB8A #8AFEFB #FB8AFE
tetradic
#FEFB8A #8AFEC1 #8A8DFE #FE8AC7
square
#FEFB8A #8AFEC1 #8A8DFE #FE8AC7
split-complementary
#FEFB8A #8AC7FE #C18AFE
monochromatic
#FDF711 #FDF94D #FEFB8A #FFFDC7 #FFFEE1

Accessibility & contrast

On white

1.08
#FEFB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.38
#FEFB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB8A
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB8A#FFFFFF#000000##000000
##FEFB8A1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF380
Deuteranopia (green-blind)
#FFF88F
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefb8a;
/* rgb */ color: rgb(254, 251, 138);
/* oklch */ color: oklch(96.7% 0.136 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffcae',
    500: '#fefb8a',
    950: '#000000',
  },
}
SCSS
$custom: #fefb8a;
$custom-light: #fffcae;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb8a",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 138
  },
  "hsl": {
    "h": 58.448,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.96733,
    "c": 0.13555,
    "h": 107.3
  },
  "luminance": 0.919
}

Semantic roles & 50–950 ramp

primary
#FEFB8A
secondary
#4E52DE
accent
#06E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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