#FEF079#FEF079

#FEF079 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 94.3% C 0.141 H 102.6°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#FEF079
RGBrgb(254, 240, 121)
HSLhsl(54, 99%, 74%)
HSVhsv(54, 52%, 100%)
CMYKcmyk(0%, 5.5%, 52.4%, 0.4%)
CIE-LABlab(93.79, -10.18, 58.46)
CIE-LCHlch(93.79, 59.34, 99.88°)
OKLaboklab(94.29% -0.0308 0.1374)
OKLCHoklch(94.29% 0.141 102.6)
XYZxyz(75.4866, 84.7741, 30.4722)
Luminance0.8477 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF079 #7987FE
analogous
#FEAD79 #FEF079 #C9FE79
triadic
#FEF079 #79FEF0 #F079FE
tetradic
#FEF079 #79FEAD #7987FE #FE79C9
square
#FEF079 #79FEAD #7987FE #FE79C9
split-complementary
#FEF079 #79C9FE #AD79FE
monochromatic
#FBE102 #FEE93C #FEF079 #FEF7B6 #FFFCE1

Accessibility & contrast

On white

1.17
#FEF079 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.95
#FEF079 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF079
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF079#FFFFFF#000000##000000
##FEF0791.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96E
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#FFE2D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef079;
/* rgb */ color: rgb(254, 240, 121);
/* oklch */ color: oklch(94.3% 0.141 102.6);
Tailwind
colors: {
  custom: {
    50: '#fff4a3',
    500: '#fef079',
    950: '#000000',
  },
}
SCSS
$custom: #fef079;
$custom-light: #fff4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef079",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 121
  },
  "hsl": {
    "h": 53.684,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94292,
    "c": 0.14078,
    "h": 102.6
  },
  "luminance": 0.84771
}

Semantic roles & 50–950 ramp

primary
#FEF079
secondary
#3F50DC
accent
#18E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF079

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

Preview Lab → · Contrast checker → · Palette generator →

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