#FEF26B#FEF26B

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

Color values

HEX#FEF26B
RGBrgb(254, 242, 107)
HSLhsl(55, 99%, 71%)
HSVhsv(55, 58%, 100%)
CMYKcmyk(0%, 4.7%, 57.9%, 0.4%)
CIE-LABlab(94.16, -12.20, 65.10)
CIE-LCHlch(94.16, 66.24, 100.62°)
OKLaboklab(94.54% -0.0381 0.1501)
OKLCHoklch(94.54% 0.155 104.2)
XYZxyz(75.2816, 85.6392, 26.4716)
Luminance0.8564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF26B #6B77FE
analogous
#FEA86B #FEF26B #C0FE6B
triadic
#FEF26B #6BFEF2 #F26BFE
tetradic
#FEF26B #6BFEA8 #6B77FE #FE6BC0
square
#FEF26B #6BFEA8 #6B77FE #FE6BC0
split-complementary
#FEF26B #6BC0FE #A86BFE
monochromatic
#EDDA02 #FEED2E #FEF26B #FEF7A8 #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF26B#FFFFFF#000000##000000
##FEF26B1.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)
#FFEA5C
Deuteranopia (green-blind)
#FFF172
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fef26b;
/* rgb */ color: rgb(254, 242, 107);
/* oklch */ color: oklch(94.5% 0.155 104.2);
Tailwind
colors: {
  custom: {
    50: '#fff69a',
    500: '#fef26b',
    950: '#000000',
  },
}
SCSS
$custom: #fef26b;
$custom-light: #fff69a;
$custom-dark: #000000;
JSON
{
  "hex": "#fef26b",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 55.102,
    "s": 98.658,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94543,
    "c": 0.15488,
    "h": 104.2
  },
  "luminance": 0.85637
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF26B

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

Preview Lab → · Contrast checker → · Palette generator →

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