#F8F26F#F8F26F

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

Color values

HEX#F8F26F
RGBrgb(248, 242, 111)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 55%, 97%)
CMYKcmyk(0%, 2.4%, 55.2%, 2.7%)
CIE-LABlab(93.72, -14.32, 62.74)
CIE-LCHlch(93.72, 64.35, 102.85°)
OKLaboklab(94.09% -0.0433 0.1457)
OKLCHoklch(94.09% 0.152 106.6)
XYZxyz(73.3350, 84.6106, 27.5043)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26F #6F75F8
analogous
#F8AD6F #F8F26F #BAF86F
triadic
#F8F26F #6FF8F2 #F26FF8
tetradic
#F8F26F #6FF8AD #6F75F8 #F86FBA
square
#F8F26F #6FF8AD #6F75F8 #F86FBA
split-complementary
#F8F26F #6FBAF8 #AD6FF8
monochromatic
#E2D80B #F5ED35 #F8F26F #FBF7A9 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F26F#FFFFFF#000000##000000
##F8F26F1.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)
#FFEA62
Deuteranopia (green-blind)
#FFF076
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f26f;
/* rgb */ color: rgb(248, 242, 111);
/* oklch */ color: oklch(94.1% 0.152 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf69c',
    500: '#f8f26f',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26f;
$custom-light: #fdf69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26f",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 57.372,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.94087,
    "c": 0.15195,
    "h": 106.6
  },
  "luminance": 0.84608
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F26F

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

Preview Lab → · Contrast checker → · Palette generator →

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