#FEF26C#FEF26C

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

Color values

HEX#FEF26C
RGBrgb(254, 242, 108)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 57%, 100%)
CMYKcmyk(0%, 4.7%, 57.5%, 0.4%)
CIE-LABlab(94.17, -12.13, 64.68)
CIE-LCHlch(94.17, 65.81, 100.62°)
OKLaboklab(94.55% -0.0378 0.1494)
OKLCHoklch(94.55% 0.154 104.2)
XYZxyz(75.3345, 85.6604, 26.7503)
Luminance0.8566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26C #6C78FE
analogous
#FEA96C #FEF26C #C1FE6C
triadic
#FEF26C #6CFEF2 #F26CFE
tetradic
#FEF26C #6CFEA9 #6C78FE #FE6CC1
square
#FEF26C #6CFEA9 #6C78FE #FE6CC1
split-complementary
#FEF26C #6CC1FE #A96CFE
monochromatic
#EEDB02 #FEED2F #FEF26C #FEF7A9 #FFFCE1

Accessibility & contrast

On white

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

On black

18.13
#FEF26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF26C
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF26C#FFFFFF#000000##000000
##FEF26C1.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA5E
Deuteranopia (green-blind)
#FFF173
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef26c;
/* rgb */ color: rgb(254, 242, 108);
/* oklch */ color: oklch(94.6% 0.154 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#fef26c',
    950: '#000000',
  },
}
SCSS
$custom: #fef26c;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26c",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 55.068,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94553,
    "c": 0.15405,
    "h": 104.2
  },
  "luminance": 0.85658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF26C

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

Preview Lab → · Contrast checker → · Palette generator →

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