#FEF379#FEF379

#FEF379 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.9% C 0.144 H 104.1°. Best body text is #000000 at 18.31:1 contrast (WCAG AA passes).

Color values

HEX#FEF379
RGBrgb(254, 243, 121)
HSLhsl(55, 99%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 4.3%, 52.4%, 0.4%)
CIE-LABlab(94.55, -11.66, 59.36)
CIE-LCHlch(94.55, 60.49, 101.11°)
OKLaboklab(94.9% -0.035 0.1393)
OKLCHoklch(94.9% 0.144 104.1)
XYZxyz(76.3771, 86.5550, 30.7690)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF379 #7984FE
analogous
#FEB079 #FEF379 #C6FE79
triadic
#FEF379 #79FEF3 #F379FE
tetradic
#FEF379 #79FEB0 #7984FE #FE79C6
square
#FEF379 #79FEB0 #7984FE #FE79C6
split-complementary
#FEF379 #79C6FE #B079FE
monochromatic
#FBE602 #FEEE3C #FEF379 #FEF8B6 #FFFCE1

Accessibility & contrast

On white

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

On black

18.31
#FEF379 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF379
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF379#FFFFFF#000000##000000
##FEF3791.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6D
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fef379;
/* rgb */ color: rgb(254, 243, 121);
/* oklch */ color: oklch(94.9% 0.144 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fef379',
    950: '#000000',
  },
}
SCSS
$custom: #fef379;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef379",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 121
  },
  "hsl": {
    "h": 55.038,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94898,
    "c": 0.14363,
    "h": 104.1
  },
  "luminance": 0.86552
}

Semantic roles & 50–950 ramp

primary
#FEF379
secondary
#3F4CDC
accent
#13E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF379

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

Preview Lab → · Contrast checker → · Palette generator →

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