#FEFA71#FEFA71

#FEFA71 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.2% C 0.158 H 107.5°. Best body text is #000000 at 19.13:1 contrast (WCAG AA passes).

Color values

HEX#FEFA71
RGBrgb(254, 250, 113)
HSLhsl(58, 99%, 72%)
HSVhsv(58, 56%, 100%)
CMYKcmyk(0%, 1.6%, 55.5%, 0.4%)
CIE-LABlab(96.26, -15.68, 64.87)
CIE-LCHlch(96.26, 66.74, 103.59°)
OKLaboklab(96.23% -0.0473 0.1503)
OKLCHoklch(96.23% 0.158 107.5)
XYZxyz(78.0416, 90.6365, 29.0032)
Luminance0.9063 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA71 #7175FE
analogous
#FEB471 #FEFA71 #BCFE71
triadic
#FEFA71 #71FEFA #FA71FE
tetradic
#FEFA71 #71FEB4 #7175FE #FE71BC
square
#FEFA71 #71FEB4 #7175FE #FE71BC
split-complementary
#FEFA71 #71BCFE #B471FE
monochromatic
#F3EC02 #FEF834 #FEFA71 #FEFCAE #FFFEE1

Accessibility & contrast

On white

1.10
#FEFA71 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.13
#FEFA71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA71
19.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA71#FFFFFF#000000##000000
##FEFA711.001.1019.1319.13
#FFFFFF1.101.0021.0021.00
#00000019.1321.001.001.00
##00000019.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF163
Deuteranopia (green-blind)
#FFF778
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa71;
/* rgb */ color: rgb(254, 250, 113);
/* oklch */ color: oklch(96.2% 0.158 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9e',
    500: '#fefa71',
    950: '#000000',
  },
}
SCSS
$custom: #fefa71;
$custom-light: #fffb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa71",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 113
  },
  "hsl": {
    "h": 58.298,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.96234,
    "c": 0.1576,
    "h": 107.5
  },
  "luminance": 0.90634
}

Semantic roles & 50–950 ramp

primary
#FEFA71
secondary
#393DDB
accent
#07E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFA71

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

Preview Lab → · Contrast checker → · Palette generator →

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