#FEF279#FEF279

#FEF279 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.7% C 0.143 H 103.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#FEF279
RGBrgb(254, 242, 121)
HSLhsl(55, 99%, 74%)
HSVhsv(55, 52%, 100%)
CMYKcmyk(0%, 4.7%, 52.4%, 0.4%)
CIE-LABlab(94.29, -11.16, 59.06)
CIE-LCHlch(94.29, 60.11, 100.70°)
OKLaboklab(94.7% -0.0336 0.1387)
OKLCHoklch(94.7% 0.143 103.6)
XYZxyz(76.0786, 85.9581, 30.6695)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF279 #7985FE
analogous
#FEAF79 #FEF279 #C8FE79
triadic
#FEF279 #79FEF2 #F279FE
tetradic
#FEF279 #79FEAF #7985FE #FE79C8
square
#FEF279 #79FEAF #7985FE #FE79C8
split-complementary
#FEF279 #79C8FE #AF79FE
monochromatic
#FBE402 #FEEC3C #FEF279 #FEF8B6 #FFFCE1

Accessibility & contrast

On white

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

On black

18.19
#FEF279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF279
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF279#FFFFFF#000000##000000
##FEF2791.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef279;
/* rgb */ color: rgb(254, 242, 121);
/* oklch */ color: oklch(94.7% 0.143 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff6a3',
    500: '#fef279',
    950: '#000000',
  },
}
SCSS
$custom: #fef279;
$custom-light: #fff6a3;
$custom-dark: #000000;
JSON
{
  "hex": "#fef279",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 121
  },
  "hsl": {
    "h": 54.586,
    "s": 98.519,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94695,
    "c": 0.14267,
    "h": 103.6
  },
  "luminance": 0.85956
}

Semantic roles & 50–950 ramp

primary
#FEF279
secondary
#3F4EDC
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF279

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

Preview Lab → · Contrast checker → · Palette generator →

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