#F8E268#F8E268

#F8E268 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.8% C 0.143 H 99.2°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#F8E268
RGBrgb(248, 226, 104)
HSLhsl(51, 91%, 69%)
HSVhsv(51, 58%, 97%)
CMYKcmyk(0%, 8.9%, 58.1%, 2.7%)
CIE-LABlab(89.56, -6.90, 61.12)
CIE-LCHlch(89.56, 61.51, 96.44°)
OKLaboklab(90.76% -0.0229 0.1414)
OKLCHoklch(90.76% 0.143 99.2)
XYZxyz(68.4091, 75.3515, 24.0349)
Luminance0.7535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E268 #687EF8
analogous
#F89A68 #F8E268 #C6F868
triadic
#F8E268 #68F8E2 #E268F8
tetradic
#F8E268 #68F89A #687EF8 #F868C6
square
#F8E268 #68F89A #687EF8 #F868C6
split-complementary
#F8E268 #68C6F8 #9A68F8
monochromatic
#DBBB0A #F5D72E #F8E268 #FBEDA2 #FDF8DD

Accessibility & contrast

On white

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

On black

16.07
#F8E268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E268
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E268#FFFFFF#000000##000000
##F8E2681.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC5B
Deuteranopia (green-blind)
#FBE56E
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #f8e268;
/* rgb */ color: rgb(248, 226, 104);
/* oklch */ color: oklch(90.8% 0.143 99.2);
Tailwind
colors: {
  custom: {
    50: '#fdea97',
    500: '#f8e268',
    950: '#000000',
  },
}
SCSS
$custom: #f8e268;
$custom-light: #fdea97;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e268",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 104
  },
  "hsl": {
    "h": 50.833,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.90763,
    "c": 0.14323,
    "h": 99.2
  },
  "luminance": 0.75349
}

Semantic roles & 50–950 ramp

primary
#F8E268
secondary
#324BD2
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F8E268

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

Preview Lab → · Contrast checker → · Palette generator →

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