#FEF26E#FEF26E

#FEF26E 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#FEF26E
RGBrgb(254, 242, 110)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 57%, 100%)
CMYKcmyk(0%, 4.7%, 56.7%, 0.4%)
CIE-LABlab(94.19, -11.99, 63.83)
CIE-LCHlch(94.19, 64.95, 100.64°)
OKLaboklab(94.57% -0.0371 0.1478)
OKLCHoklch(94.57% 0.152 104.1)
XYZxyz(75.4421, 85.7035, 27.3173)
Luminance0.8570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26E #6E7AFE
analogous
#FEAA6E #FEF26E #C2FE6E
triadic
#FEF26E #6EFEF2 #F26EFE
tetradic
#FEF26E #6EFEAA #6E7AFE #FE6EC2
square
#FEF26E #6EFEAA #6E7AFE #FE6EC2
split-complementary
#FEF26E #6EC2FE #AA6EFE
monochromatic
#F0DC02 #FEED31 #FEF26E #FEF7AB #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF26E#FFFFFF#000000##000000
##FEF26E1.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)
#FFEB60
Deuteranopia (green-blind)
#FFF175
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef26e;
/* rgb */ color: rgb(254, 242, 110);
/* oklch */ color: oklch(94.6% 0.152 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff69c',
    500: '#fef26e',
    950: '#000000',
  },
}
SCSS
$custom: #fef26e;
$custom-light: #fff69c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26e",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 110
  },
  "hsl": {
    "h": 55,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94574,
    "c": 0.15237,
    "h": 104.1
  },
  "luminance": 0.85701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF26E

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

Preview Lab → · Contrast checker → · Palette generator →

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