#FEF48B#FEF48B

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

Color values

HEX#FEF48B
RGBrgb(254, 244, 139)
HSLhsl(55, 98%, 77%)
HSVhsv(55, 45%, 100%)
CMYKcmyk(0%, 3.9%, 45.3%, 0.4%)
CIE-LABlab(95.01, -10.60, 51.53)
CIE-LCHlch(95.01, 52.61, 101.62°)
OKLaboklab(95.33% -0.0302 0.1236)
OKLCHoklch(95.33% 0.127 103.7)
XYZxyz(77.8857, 87.6385, 37.2342)
Luminance0.8764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF48B #8B95FE
analogous
#FEBB8B #FEF48B #CEFE8B
triadic
#FEF48B #8BFEF4 #F48BFE
tetradic
#FEF48B #8BFEBB #8B95FE #FE8BCE
square
#FEF48B #8BFEBB #8B95FE #FE8BCE
split-complementary
#FEF48B #8BCEFE #BB8BFE
monochromatic
#FDE812 #FDEE4E #FEF48B #FFFAC8 #FFFCE1

Accessibility & contrast

On white

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

On black

18.53
#FEF48B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF48B
18.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF48B#FFFFFF#000000##000000
##FEF48B1.001.1318.5318.53
#FFFFFF1.131.0021.0021.00
#00000018.5321.001.001.00
##00000018.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef48b;
/* rgb */ color: rgb(254, 244, 139);
/* oklch */ color: oklch(95.3% 0.127 103.7);
Tailwind
colors: {
  custom: {
    50: '#fff7af',
    500: '#fef48b',
    950: '#000000',
  },
}
SCSS
$custom: #fef48b;
$custom-light: #fff7af;
$custom-dark: #000000;
JSON
{
  "hex": "#fef48b",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 139
  },
  "hsl": {
    "h": 54.783,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95329,
    "c": 0.12724,
    "h": 103.7
  },
  "luminance": 0.87636
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF48B

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

Preview Lab → · Contrast checker → · Palette generator →

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