#FEF26A#FEF26A

#FEF26A is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.156 H 104.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#FEF26A
RGBrgb(254, 242, 106)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 58%, 100%)
CMYKcmyk(0%, 4.7%, 58.3%, 0.4%)
CIE-LABlab(94.15, -12.27, 65.52)
CIE-LCHlch(94.15, 66.66, 100.61°)
OKLaboklab(94.53% -0.0384 0.1509)
OKLCHoklch(94.53% 0.156 104.3)
XYZxyz(75.2293, 85.6183, 26.1961)
Luminance0.8562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26A #6A76FE
analogous
#FEA86A #FEF26A #C0FE6A
triadic
#FEF26A #6AFEF2 #F26AFE
tetradic
#FEF26A #6AFEA8 #6A76FE #FE6AC0
square
#FEF26A #6AFEA8 #6A76FE #FE6AC0
split-complementary
#FEF26A #6AC0FE #A86AFE
monochromatic
#ECD902 #FEED2D #FEF26A #FEF7A7 #FFFCE1

Accessibility & contrast

On white

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

On black

18.12
#FEF26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF26A
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF26A#FFFFFF#000000##000000
##FEF26A1.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef26a;
/* rgb */ color: rgb(254, 242, 106);
/* oklch */ color: oklch(94.5% 0.156 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff699',
    500: '#fef26a',
    950: '#000000',
  },
}
SCSS
$custom: #fef26a;
$custom-light: #fff699;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26a",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 55.135,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94533,
    "c": 0.1557,
    "h": 104.3
  },
  "luminance": 0.85616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF26A

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

Preview Lab → · Contrast checker → · Palette generator →

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