#FEF293#FEF293

#FEF293 is a very light, moderate yellow. Relative luminance 0.867; OKLCH L 95.0% C 0.117 H 102.1°. Best body text is #000000 at 18.34:1 contrast (WCAG AA passes).

Color values

HEX#FEF293
RGBrgb(254, 242, 147)
HSLhsl(53, 98%, 79%)
HSVhsv(53, 42%, 100%)
CMYKcmyk(0%, 4.7%, 42.1%, 0.4%)
CIE-LABlab(94.60, -8.84, 47.19)
CIE-LCHlch(94.60, 48.01, 100.61°)
OKLaboklab(95.04% -0.0244 0.1144)
OKLCHoklch(95.04% 0.117 102.1)
XYZxyz(77.8933, 86.6839, 40.2266)
Luminance0.8668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF293 #939FFE
analogous
#FEBC93 #FEF293 #D4FE93
triadic
#FEF293 #93FEF2 #F293FE
tetradic
#FEF293 #93FEBC #939FFE #FE93D4
square
#FEF293 #93FEBC #939FFE #FE93D4
split-complementary
#FEF293 #93D4FE #BC93FE
monochromatic
#FDE31A #FDEB56 #FEF293 #FFF9D0 #FFFBE1

Accessibility & contrast

On white

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

On black

18.34
#FEF293 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF293
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF293#FFFFFF#000000##000000
##FEF2931.001.1518.3418.34
#FFFFFF1.151.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8C
Deuteranopia (green-blind)
#FFF297
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef293;
/* rgb */ color: rgb(254, 242, 147);
/* oklch */ color: oklch(95.0% 0.117 102.1);
Tailwind
colors: {
  custom: {
    50: '#fff6b4',
    500: '#fef293',
    950: '#000000',
  },
}
SCSS
$custom: #fef293;
$custom-light: #fff6b4;
$custom-dark: #000000;
JSON
{
  "hex": "#fef293",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 147
  },
  "hsl": {
    "h": 53.271,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95042,
    "c": 0.11694,
    "h": 102.1
  },
  "luminance": 0.86682
}

Semantic roles & 50–950 ramp

primary
#FEF293
secondary
#5665E0
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF293

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

Preview Lab → · Contrast checker → · Palette generator →

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