#F8E26A#F8E26A

#F8E26A is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.8% C 0.142 H 99.0°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#F8E26A
RGBrgb(248, 226, 106)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 57%, 97%)
CMYKcmyk(0%, 8.9%, 57.3%, 2.7%)
CIE-LABlab(89.58, -6.76, 60.26)
CIE-LCHlch(89.58, 60.63, 96.40°)
OKLaboklab(90.78% -0.0222 0.1398)
OKLCHoklch(90.78% 0.142 99)
XYZxyz(68.5119, 75.3926, 24.5763)
Luminance0.7539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E26A #6A80F8
analogous
#F89B6A #F8E26A #C7F86A
triadic
#F8E26A #6AF8E2 #E26AF8
tetradic
#F8E26A #6AF89B #6A80F8 #F86AC7
square
#F8E26A #6AF89B #6A80F8 #F86AC7
split-complementary
#F8E26A #6AC7F8 #9B6AF8
monochromatic
#DDBD0A #F5D730 #F8E26A #FBEDA4 #FDF9DF

Accessibility & contrast

On white

1.31
#F8E26A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.08
#F8E26A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E26A
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E26A#FFFFFF#000000##000000
##F8E26A1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD5E
Deuteranopia (green-blind)
#FBE570
Tritanopia (blue-blind)
#FFD4C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e26a;
/* rgb */ color: rgb(248, 226, 106);
/* oklch */ color: oklch(90.8% 0.142 99.0);
Tailwind
colors: {
  custom: {
    50: '#fdea98',
    500: '#f8e26a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e26a;
$custom-light: #fdea98;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e26a",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 106
  },
  "hsl": {
    "h": 50.704,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.90784,
    "c": 0.14153,
    "h": 99
  },
  "luminance": 0.7539
}

Semantic roles & 50–950 ramp

primary
#F8E26A
secondary
#344DD2
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E26A

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

Preview Lab → · Contrast checker → · Palette generator →

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