#FEF191#FEF191

#FEF191 is a very light, moderate yellow. Relative luminance 0.860; OKLCH L 94.8% C 0.118 H 101.6°. Best body text is #000000 at 18.21:1 contrast (WCAG AA passes).

Color values

HEX#FEF191
RGBrgb(254, 241, 145)
HSLhsl(53, 98%, 78%)
HSVhsv(53, 43%, 100%)
CMYKcmyk(0%, 5.1%, 42.9%, 0.4%)
CIE-LABlab(94.32, -8.54, 47.81)
CIE-LCHlch(94.32, 48.56, 100.13°)
OKLaboklab(94.81% -0.0237 0.1156)
OKLCHoklch(94.81% 0.118 101.6)
XYZxyz(77.4409, 86.0281, 39.3083)
Luminance0.8603 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF191 #919EFE
analogous
#FEBA91 #FEF191 #D4FE91
triadic
#FEF191 #91FEF1 #F191FE
tetradic
#FEF191 #91FEBA #919EFE #FE91D4
square
#FEF191 #91FEBA #919EFE #FE91D4
split-complementary
#FEF191 #91D4FE #BA91FE
monochromatic
#FDE218 #FDE954 #FEF191 #FFF9CE #FFFBE1

Accessibility & contrast

On white

1.15
#FEF191 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.21
#FEF191 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF191
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF191#FFFFFF#000000##000000
##FEF1911.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB89
Deuteranopia (green-blind)
#FFF195
Tritanopia (blue-blind)
#FFE5DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef191;
/* rgb */ color: rgb(254, 241, 145);
/* oklch */ color: oklch(94.8% 0.118 101.6);
Tailwind
colors: {
  custom: {
    50: '#fff5b3',
    500: '#fef191',
    950: '#000000',
  },
}
SCSS
$custom: #fef191;
$custom-light: #fff5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef191",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 145
  },
  "hsl": {
    "h": 52.844,
    "s": 98.198,
    "l": 78.235
  },
  "oklch": {
    "l": 0.94811,
    "c": 0.11805,
    "h": 101.6
  },
  "luminance": 0.86026
}

Semantic roles & 50–950 ramp

primary
#FEF191
secondary
#5465DF
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF191

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

Preview Lab → · Contrast checker → · Palette generator →

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