#FEF48A#FEF48A

#FEF48A is a very light, vivid yellow. Relative luminance 0.876; OKLCH L 95.3% C 0.128 H 103.8°. Best body text is #000000 at 18.52:1 contrast (WCAG AA passes).

Color values

HEX#FEF48A
RGBrgb(254, 244, 138)
HSLhsl(55, 98%, 77%)
HSVhsv(55, 46%, 100%)
CMYKcmyk(0%, 3.9%, 45.7%, 0.4%)
CIE-LABlab(95.00, -10.69, 51.99)
CIE-LCHlch(95.00, 53.08, 101.62°)
OKLaboklab(95.32% -0.0305 0.1246)
OKLCHoklch(95.32% 0.128 103.8)
XYZxyz(77.8130, 87.6094, 36.8512)
Luminance0.8761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF48A #8A94FE
analogous
#FEBA8A #FEF48A #CEFE8A
triadic
#FEF48A #8AFEF4 #F48AFE
tetradic
#FEF48A #8AFEBA #8A94FE #FE8ACE
square
#FEF48A #8AFEBA #8A94FE #FE8ACE
split-complementary
#FEF48A #8ACEFE #BA8AFE
monochromatic
#FDE911 #FDEE4D #FEF48A #FFFAC7 #FFFCE1

Accessibility & contrast

On white

1.13
#FEF48A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.52
#FEF48A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF48A
18.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF48A#FFFFFF#000000##000000
##FEF48A1.001.1318.5218.52
#FFFFFF1.131.0021.0021.00
#00000018.5221.001.001.00
##00000018.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED81
Deuteranopia (green-blind)
#FFF38F
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef48a;
/* rgb */ color: rgb(254, 244, 138);
/* oklch */ color: oklch(95.3% 0.128 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff7ae',
    500: '#fef48a',
    950: '#000000',
  },
}
SCSS
$custom: #fef48a;
$custom-light: #fff7ae;
$custom-dark: #000000;
JSON
{
  "hex": "#fef48a",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 138
  },
  "hsl": {
    "h": 54.828,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95315,
    "c": 0.12825,
    "h": 103.8
  },
  "luminance": 0.87607
}

Semantic roles & 50–950 ramp

primary
#FEF48A
secondary
#4E5ADE
accent
#14E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF48A

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

Preview Lab → · Contrast checker → · Palette generator →

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