#F8F26A#F8F26A

#F8F26A is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.156 H 106.7°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F8F26A
RGBrgb(248, 242, 106)
HSLhsl(57, 91%, 69%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 2.4%, 57.3%, 2.7%)
CIE-LABlab(93.67, -14.68, 64.85)
CIE-LCHlch(93.67, 66.49, 102.75°)
OKLaboklab(94.04% -0.0449 0.1496)
OKLCHoklch(94.04% 0.156 106.7)
XYZxyz(73.0673, 84.5036, 26.0948)
Luminance0.8450 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26A #6A70F8
analogous
#F8AB6A #F8F26A #B7F86A
triadic
#F8F26A #6AF8F2 #F26AF8
tetradic
#F8F26A #6AF8AB #6A70F8 #F86AB7
square
#F8F26A #6AF8AB #6A70F8 #F86AB7
split-complementary
#F8F26A #6AB7F8 #AB6AF8
monochromatic
#DDD40A #F5ED30 #F8F26A #FBF7A4 #FDFCDF

Accessibility & contrast

On white

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

On black

17.90
#F8F26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F26A
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F26A#FFFFFF#000000##000000
##F8F26A1.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f26a;
/* rgb */ color: rgb(248, 242, 106);
/* oklch */ color: oklch(94.0% 0.156 106.7);
Tailwind
colors: {
  custom: {
    50: '#fdf699',
    500: '#f8f26a',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26a;
$custom-light: #fdf699;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26a",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 106
  },
  "hsl": {
    "h": 57.465,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.94035,
    "c": 0.15618,
    "h": 106.7
  },
  "luminance": 0.84501
}

Semantic roles & 50–950 ramp

primary
#F8F26A
secondary
#343BD2
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F26A

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

Preview Lab → · Contrast checker → · Palette generator →

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