#FEF05F#FEF05F

#FEF05F is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 94.0% C 0.162 H 103.8°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#FEF05F
RGBrgb(254, 240, 95)
HSLhsl(55, 99%, 68%)
HSVhsv(55, 63%, 100%)
CMYKcmyk(0%, 5.5%, 62.6%, 0.4%)
CIE-LABlab(93.55, -12.00, 69.46)
CIE-LCHlch(93.55, 70.48, 99.80°)
OKLaboklab(94.02% -0.0388 0.1578)
OKLCHoklch(94.02% 0.162 103.8)
XYZxyz(74.1015, 84.2200, 23.1770)
Luminance0.8422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF05F #5F6DFE
analogous
#FEA05F #FEF05F #BCFE5F
triadic
#FEF05F #5FFEF0 #F05FFE
tetradic
#FEF05F #5FFEA0 #5F6DFE #FE5FBC
square
#FEF05F #5FFEA0 #5F6DFE #FE5FBC
split-complementary
#FEF05F #5FBCFE #A05FFE
monochromatic
#E1CD01 #FEEA22 #FEF05F #FEF69C #FFFBD9

Accessibility & contrast

On white

1.18
#FEF05F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.84
#FEF05F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF05F
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF05F#FFFFFF#000000##000000
##FEF05F1.001.1817.8417.84
#FFFFFF1.181.0021.0021.00
#00000017.8421.001.001.00
##00000017.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE84D
Deuteranopia (green-blind)
#FFF067
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #fef05f;
/* rgb */ color: rgb(254, 240, 95);
/* oklch */ color: oklch(94.0% 0.162 103.8);
Tailwind
colors: {
  custom: {
    50: '#fff492',
    500: '#fef05f',
    950: '#000000',
  },
}
SCSS
$custom: #fef05f;
$custom-light: #fff492;
$custom-dark: #000000;
JSON
{
  "hex": "#fef05f",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 95
  },
  "hsl": {
    "h": 54.717,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94024,
    "c": 0.16248,
    "h": 103.8
  },
  "luminance": 0.84217
}

Semantic roles & 50–950 ramp

primary
#FEF05F
secondary
#2939D8
accent
#14E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEF05F

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

Preview Lab → · Contrast checker → · Palette generator →

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