#FEFA72#FEFA72

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

Color values

HEX#FEFA72
RGBrgb(254, 250, 114)
HSLhsl(58, 99%, 72%)
HSVhsv(58, 55%, 100%)
CMYKcmyk(0%, 1.6%, 55.1%, 0.4%)
CIE-LABlab(96.27, -15.61, 64.44)
CIE-LCHlch(96.27, 66.31, 103.61°)
OKLaboklab(96.24% -0.047 0.1495)
OKLCHoklch(96.24% 0.157 107.5)
XYZxyz(78.0982, 90.6592, 29.3013)
Luminance0.9066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA72 #7276FE
analogous
#FEB472 #FEFA72 #BCFE72
triadic
#FEFA72 #72FEFA #FA72FE
tetradic
#FEFA72 #72FEB4 #7276FE #FE72BC
square
#FEFA72 #72FEB4 #7276FE #FE72BC
split-complementary
#FEFA72 #72BCFE #B472FE
monochromatic
#F4ED02 #FEF835 #FEFA72 #FEFCAF #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFA72#FFFFFF#000000##000000
##FEFA721.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)
#FFF164
Deuteranopia (green-blind)
#FFF779
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa72;
/* rgb */ color: rgb(254, 250, 114);
/* oklch */ color: oklch(96.2% 0.157 107.5);
Tailwind
colors: {
  custom: {
    50: '#fffb9f',
    500: '#fefa72',
    950: '#000000',
  },
}
SCSS
$custom: #fefa72;
$custom-light: #fffb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa72",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 58.286,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.96244,
    "c": 0.15675,
    "h": 107.5
  },
  "luminance": 0.90657
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEFA72

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

Preview Lab → · Contrast checker → · Palette generator →

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