#F8F26B#F8F26B

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

Color values

HEX#F8F26B
RGBrgb(248, 242, 107)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 57%, 97%)
CMYKcmyk(0%, 2.4%, 56.9%, 2.7%)
CIE-LABlab(93.68, -14.61, 64.43)
CIE-LCHlch(93.68, 66.07, 102.77°)
OKLaboklab(94.05% -0.0446 0.1488)
OKLCHoklch(94.05% 0.155 106.7)
XYZxyz(73.1196, 84.5245, 26.3702)
Luminance0.8452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26B #6B71F8
analogous
#F8AC6B #F8F26B #B7F86B
triadic
#F8F26B #6BF8F2 #F26BF8
tetradic
#F8F26B #6BF8AC #6B71F8 #F86BB7
square
#F8F26B #6BF8AC #6B71F8 #F86BB7
split-complementary
#F8F26B #6BB7F8 #AC6BF8
monochromatic
#DED50B #F5ED31 #F8F26B #FBF7A5 #FEFCE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F26B#FFFFFF#000000##000000
##F8F26B1.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)
#FFEA5D
Deuteranopia (green-blind)
#FFEF72
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f26b;
/* rgb */ color: rgb(248, 242, 107);
/* oklch */ color: oklch(94.0% 0.155 106.7);
Tailwind
colors: {
  custom: {
    50: '#fdf69a',
    500: '#f8f26b',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26b;
$custom-light: #fdf69a;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26b",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 107
  },
  "hsl": {
    "h": 57.447,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94045,
    "c": 0.15535,
    "h": 106.7
  },
  "luminance": 0.84522
}

Semantic roles & 50–950 ramp

primary
#F8F26B
secondary
#353CD2
accent
#0AE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8F26B

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

Preview Lab → · Contrast checker → · Palette generator →

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