#F8F26C#F8F26C

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

Color values

HEX#F8F26C
RGBrgb(248, 242, 108)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.4%, 56.5%, 2.7%)
CIE-LABlab(93.69, -14.53, 64.01)
CIE-LCHlch(93.69, 65.64, 102.79°)
OKLaboklab(94.06% -0.0442 0.148)
OKLCHoklch(94.06% 0.155 106.6)
XYZxyz(73.1725, 84.5457, 26.6489)
Luminance0.8454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26C #6C72F8
analogous
#F8AC6C #F8F26C #B8F86C
triadic
#F8F26C #6CF8F2 #F26CF8
tetradic
#F8F26C #6CF8AC #6C72F8 #F86CB8
square
#F8F26C #6CF8AC #6C72F8 #F86CB8
split-complementary
#F8F26C #6CB8F8 #AC6CF8
monochromatic
#DFD60B #F5ED32 #F8F26C #FBF7A6 #FEFCE1

Accessibility & contrast

On white

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

On black

17.91
#F8F26C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F26C
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F26C#FFFFFF#000000##000000
##F8F26C1.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f26c;
/* rgb */ color: rgb(248, 242, 108);
/* oklch */ color: oklch(94.1% 0.155 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f8f26c',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26c;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26c",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 108
  },
  "hsl": {
    "h": 57.429,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.94055,
    "c": 0.15451,
    "h": 106.6
  },
  "luminance": 0.84543
}

Semantic roles & 50–950 ramp

primary
#F8F26C
secondary
#363DD2
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F26C

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

Preview Lab → · Contrast checker → · Palette generator →

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