#FEF192#FEF192

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

Color values

HEX#FEF192
RGBrgb(254, 241, 146)
HSLhsl(53, 98%, 78%)
HSVhsv(53, 43%, 100%)
CMYKcmyk(0%, 5.1%, 42.5%, 0.4%)
CIE-LABlab(94.34, -8.44, 47.34)
CIE-LCHlch(94.34, 48.08, 100.11°)
OKLaboklab(94.83% -0.0234 0.1147)
OKLCHoklch(94.83% 0.117 101.5)
XYZxyz(77.5183, 86.0590, 39.7162)
Luminance0.8606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF192 #929FFE
analogous
#FEBB92 #FEF192 #D5FE92
triadic
#FEF192 #92FEF1 #F192FE
tetradic
#FEF192 #92FEBB #929FFE #FE92D5
square
#FEF192 #92FEBB #929FFE #FE92D5
split-complementary
#FEF192 #92D5FE #BB92FE
monochromatic
#FDE119 #FDE955 #FEF192 #FFF9CF #FFFBE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF192#FFFFFF#000000##000000
##FEF1921.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)
#FFEB8B
Deuteranopia (green-blind)
#FFF196
Tritanopia (blue-blind)
#FFE5DA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef192;
/* rgb */ color: rgb(254, 241, 146);
/* oklch */ color: oklch(94.8% 0.117 101.5);
Tailwind
colors: {
  custom: {
    50: '#fff5b3',
    500: '#fef192',
    950: '#000000',
  },
}
SCSS
$custom: #fef192;
$custom-light: #fff5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef192",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 146
  },
  "hsl": {
    "h": 52.778,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.94826,
    "c": 0.11701,
    "h": 101.5
  },
  "luminance": 0.86057
}

Semantic roles & 50–950 ramp

primary
#FEF192
secondary
#5565DF
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF192

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

Preview Lab → · Contrast checker → · Palette generator →

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