#F8F26D#F8F26D

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

Color values

HEX#F8F26D
RGBrgb(248, 242, 109)
HSLhsl(57, 91%, 70%)
HSVhsv(57, 56%, 97%)
CMYKcmyk(0%, 2.4%, 56%, 2.7%)
CIE-LABlab(93.70, -14.46, 63.59)
CIE-LCHlch(93.70, 65.21, 102.81°)
OKLaboklab(94.07% -0.0439 0.1473)
OKLCHoklch(94.07% 0.154 106.6)
XYZxyz(73.2261, 84.5671, 26.9308)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F26D #6D73F8
analogous
#F8AC6D #F8F26D #B9F86D
triadic
#F8F26D #6DF8F2 #F26DF8
tetradic
#F8F26D #6DF8AC #6D73F8 #F86DB9
square
#F8F26D #6DF8AC #6D73F8 #F86DB9
split-complementary
#F8F26D #6DB9F8 #AC6DF8
monochromatic
#E0D70B #F5ED33 #F8F26D #FBF7A7 #FEFCE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F26D#FFFFFF#000000##000000
##F8F26D1.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)
#FFEA5F
Deuteranopia (green-blind)
#FFF074
Tritanopia (blue-blind)
#FFE4D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f26d;
/* rgb */ color: rgb(248, 242, 109);
/* oklch */ color: oklch(94.1% 0.154 106.6);
Tailwind
colors: {
  custom: {
    50: '#fdf69b',
    500: '#f8f26d',
    950: '#000000',
  },
}
SCSS
$custom: #f8f26d;
$custom-light: #fdf69b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f26d",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 109
  },
  "hsl": {
    "h": 57.41,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.94066,
    "c": 0.15367,
    "h": 106.6
  },
  "luminance": 0.84565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F26D

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

Preview Lab → · Contrast checker → · Palette generator →

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