#FEF47A#FEF47A

#FEF47A is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 95.1% C 0.144 H 104.5°. Best body text is #000000 at 18.44:1 contrast (WCAG AA passes).

Color values

HEX#FEF47A
RGBrgb(254, 244, 122)
HSLhsl(55, 99%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 3.9%, 52%, 0.4%)
CIE-LABlab(94.81, -12.07, 59.21)
CIE-LCHlch(94.81, 60.43, 101.52°)
OKLaboklab(95.11% -0.0361 0.1391)
OKLCHoklch(95.11% 0.144 104.5)
XYZxyz(76.7388, 87.1798, 31.1936)
Luminance0.8718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF47A #7A84FE
analogous
#FEB27A #FEF47A #C6FE7A
triadic
#FEF47A #7AFEF4 #F47AFE
tetradic
#FEF47A #7AFEB2 #7A84FE #FE7AC6
square
#FEF47A #7AFEB2 #7A84FE #FE7AC6
split-complementary
#FEF47A #7AC6FE #B27AFE
monochromatic
#FCE902 #FEEF3D #FEF47A #FEF9B7 #FFFCE1

Accessibility & contrast

On white

1.14
#FEF47A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.44
#FEF47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF47A
18.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF47A#FFFFFF#000000##000000
##FEF47A1.001.1418.4418.44
#FFFFFF1.141.0021.0021.00
#00000018.4421.001.001.00
##00000018.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6E
Deuteranopia (green-blind)
#FFF380
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef47a;
/* rgb */ color: rgb(254, 244, 122);
/* oklch */ color: oklch(95.1% 0.144 104.5);
Tailwind
colors: {
  custom: {
    50: '#fff7a3',
    500: '#fef47a',
    950: '#000000',
  },
}
SCSS
$custom: #fef47a;
$custom-light: #fff7a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef47a",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 122
  },
  "hsl": {
    "h": 55.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95112,
    "c": 0.1437,
    "h": 104.5
  },
  "luminance": 0.87177
}

Semantic roles & 50–950 ramp

primary
#FEF47A
secondary
#404CDC
accent
#11E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF47A

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

Preview Lab → · Contrast checker → · Palette generator →

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