#F8F26E#F8F26E

#F8F26E is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.153 H 106.6°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#F8F26E
RGBrgb(248, 242, 110)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.4%, 55.6%, 2.7%)
CIE-LABlab(93.71, -14.39, 63.16)
CIE-LCHlch(93.71, 64.78, 102.83°)
OKLaboklab(94.08% -0.0436 0.1465)
OKLCHoklch(94.08% 0.153 106.6)
XYZxyz(73.2802, 84.5887, 27.2159)
Luminance0.8459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26E #6E74F8
analogous
#F8AD6E #F8F26E #B9F86E
triadic
#F8F26E #6EF8F2 #F26EF8
tetradic
#F8F26E #6EF8AD #6E74F8 #F86EB9
square
#F8F26E #6EF8AD #6E74F8 #F86EB9
split-complementary
#F8F26E #6EB9F8 #AD6EF8
monochromatic
#E1D70B #F5ED34 #F8F26E #FBF7A8 #FEFCE2

Accessibility & contrast

On white

1.17
#F8F26E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#F8F26E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F26E
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F26E#FFFFFF#000000##000000
##F8F26E1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA60
Deuteranopia (green-blind)
#FFF075
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f26e;
/* rgb */ color: rgb(248, 242, 110);
/* oklch */ color: oklch(94.1% 0.153 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf69c',
    500: '#f8f26e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26e;
$custom-light: #fdf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26e",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 110
  },
  "hsl": {
    "h": 57.391,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.94076,
    "c": 0.15281,
    "h": 106.6
  },
  "luminance": 0.84587
}

Semantic roles & 50–950 ramp

primary
#F8F26E
secondary
#383ED3
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F26E

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

Preview Lab → · Contrast checker → · Palette generator →

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