#FEF26F#FEF26F

#FEF26F is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.6% C 0.152 H 104.1°. Best body text is #000000 at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#FEF26F
RGBrgb(254, 242, 111)
HSLhsl(55, 99%, 72%)
HSVhsv(55, 56%, 100%)
CMYKcmyk(0%, 4.7%, 56.3%, 0.4%)
CIE-LABlab(94.19, -11.92, 63.41)
CIE-LCHlch(94.19, 64.52, 100.65°)
OKLaboklab(94.58% -0.0368 0.147)
OKLCHoklch(94.58% 0.152 104.1)
XYZxyz(75.4969, 85.7254, 27.6056)
Luminance0.8572 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26F #6F7BFE
analogous
#FEAB6F #FEF26F #C3FE6F
triadic
#FEF26F #6FFEF2 #F26FFE
tetradic
#FEF26F #6FFEAB #6F7BFE #FE6FC3
square
#FEF26F #6FFEAB #6F7BFE #FE6FC3
split-complementary
#FEF26F #6FC3FE #AB6FFE
monochromatic
#F1DD02 #FEED32 #FEF26F #FEF7AC #FFFCE1

Accessibility & contrast

On white

1.16
#FEF26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.14
#FEF26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF26F
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF26F#FFFFFF#000000##000000
##FEF26F1.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFF176
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef26f;
/* rgb */ color: rgb(254, 242, 111);
/* oklch */ color: oklch(94.6% 0.152 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#fef26f',
    950: '#000000',
  },
}
SCSS
$custom: #fef26f;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26f",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 54.965,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94584,
    "c": 0.15151,
    "h": 104.1
  },
  "luminance": 0.85723
}

Semantic roles & 50–950 ramp

primary
#FEF26F
secondary
#3745DA
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF26F

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

Preview Lab → · Contrast checker → · Palette generator →

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