#F8E24F#F8E24F

#F8E24F is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.5% C 0.162 H 100.6°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#F8E24F
RGBrgb(248, 226, 79)
HSLhsl(52, 92%, 64%)
HSVhsv(52, 68%, 97%)
CMYKcmyk(0%, 8.9%, 68.1%, 2.7%)
CIE-LABlab(89.35, -8.41, 71.25)
CIE-LCHlch(89.35, 71.75, 96.73°)
OKLaboklab(90.54% -0.0299 0.1593)
OKLCHoklch(90.54% 0.162 100.6)
XYZxyz(67.3220, 74.9167, 18.3099)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E24F #4F65F8
analogous
#F88E4F #F8E24F #BAF84F
triadic
#F8E24F #4FF8E2 #E24FF8
tetradic
#F8E24F #4FF88E #4F65F8 #F84FBA
square
#F8E24F #4FF88E #4F65F8 #F84FBA
split-complementary
#F8E24F #4FBAF8 #8E4FF8
monochromatic
#C5AC08 #F6D814 #F8E24F #FAEC8A #FDF5C5

Accessibility & contrast

On white

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

On black

15.98
#F8E24F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E24F
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E24F#FFFFFF#000000##000000
##F8E24F1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC3A
Deuteranopia (green-blind)
#FDE458
Tritanopia (blue-blind)
#FFD2C4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #f8e24f;
/* rgb */ color: rgb(248, 226, 79);
/* oklch */ color: oklch(90.5% 0.162 100.6);
Tailwind
colors: {
  custom: {
    50: '#feea88',
    500: '#f8e24f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e24f;
$custom-light: #feea88;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e24f",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 79
  },
  "hsl": {
    "h": 52.189,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90536,
    "c": 0.16209,
    "h": 100.6
  },
  "luminance": 0.74914
}

Semantic roles & 50–950 ramp

primary
#F8E24F
secondary
#2A3DC2
accent
#1EE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F8E24F

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

Preview Lab → · Contrast checker → · Palette generator →

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