#FEF26D#FEF26D

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

Color values

HEX#FEF26D
RGBrgb(254, 242, 109)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 57%, 100%)
CMYKcmyk(0%, 4.7%, 57.1%, 0.4%)
CIE-LABlab(94.18, -12.06, 64.26)
CIE-LCHlch(94.18, 65.38, 100.63°)
OKLaboklab(94.56% -0.0374 0.1486)
OKLCHoklch(94.56% 0.153 104.1)
XYZxyz(75.3880, 85.6818, 27.0322)
Luminance0.8568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26D #6D79FE
analogous
#FEA96D #FEF26D #C2FE6D
triadic
#FEF26D #6DFEF2 #F26DFE
tetradic
#FEF26D #6DFEA9 #6D79FE #FE6DC2
square
#FEF26D #6DFEA9 #6D79FE #FE6DC2
split-complementary
#FEF26D #6DC2FE #A96DFE
monochromatic
#EFDB02 #FEED30 #FEF26D #FEF7AA #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF26D#FFFFFF#000000##000000
##FEF26D1.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)
#FFEB5F
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef26d;
/* rgb */ color: rgb(254, 242, 109);
/* oklch */ color: oklch(94.6% 0.153 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff69b',
    500: '#fef26d',
    950: '#000000',
  },
}
SCSS
$custom: #fef26d;
$custom-light: #fff69b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26d",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 109
  },
  "hsl": {
    "h": 55.034,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94563,
    "c": 0.15321,
    "h": 104.1
  },
  "luminance": 0.85679
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF26D

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

Preview Lab → · Contrast checker → · Palette generator →

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