#FEF392#FEF392

#FEF392 is a very light, moderate yellow. Relative luminance 0.872; OKLCH L 95.2% C 0.119 H 102.7°. Best body text is #000000 at 18.45:1 contrast (WCAG AA passes).

Color values

HEX#FEF392
RGBrgb(254, 243, 146)
HSLhsl(54, 98%, 78%)
HSVhsv(54, 43%, 100%)
CMYKcmyk(0%, 4.3%, 42.5%, 0.4%)
CIE-LABlab(94.84, -9.43, 47.97)
CIE-LCHlch(94.84, 48.89, 101.12°)
OKLaboklab(95.23% -0.0262 0.1161)
OKLCHoklch(95.23% 0.119 102.7)
XYZxyz(78.1136, 87.2496, 39.9146)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF392 #929DFE
analogous
#FEBD92 #FEF392 #D3FE92
triadic
#FEF392 #92FEF3 #F392FE
tetradic
#FEF392 #92FEBD #929DFE #FE92D3
square
#FEF392 #92FEBD #929DFE #FE92D3
split-complementary
#FEF392 #92D3FE #BD92FE
monochromatic
#FDE619 #FDEC55 #FEF392 #FFFACF #FFFCE1

Accessibility & contrast

On white

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

On black

18.45
#FEF392 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF392
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF392#FFFFFF#000000##000000
##FEF3921.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8A
Deuteranopia (green-blind)
#FFF396
Tritanopia (blue-blind)
#FFE7DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef392;
/* rgb */ color: rgb(254, 243, 146);
/* oklch */ color: oklch(95.2% 0.119 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6b3',
    500: '#fef392',
    950: '#000000',
  },
}
SCSS
$custom: #fef392;
$custom-light: #fff6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef392",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 146
  },
  "hsl": {
    "h": 53.889,
    "s": 98.182,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95228,
    "c": 0.119,
    "h": 102.7
  },
  "luminance": 0.87247
}

Semantic roles & 50–950 ramp

primary
#FEF392
secondary
#5563DF
accent
#17E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF392

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

Preview Lab → · Contrast checker → · Palette generator →

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