#F8E44F#F8E44F

#F8E44F is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.9% C 0.164 H 101.5°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#F8E44F
RGBrgb(248, 228, 79)
HSLhsl(53, 92%, 64%)
HSVhsv(53, 68%, 97%)
CMYKcmyk(0%, 8.1%, 68.1%, 2.7%)
CIE-LABlab(89.86, -9.41, 71.77)
CIE-LCHlch(89.86, 72.38, 97.47°)
OKLaboklab(90.94% -0.0328 0.1604)
OKLCHoklch(90.94% 0.164 101.5)
XYZxyz(67.8690, 76.0107, 18.4922)
Luminance0.7601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E44F #4F63F8
analogous
#F88F4F #F8E44F #B8F84F
triadic
#F8E44F #4FF8E4 #E44FF8
tetradic
#F8E44F #4FF88F #4F63F8 #F84FB8
square
#F8E44F #4FF88F #4F63F8 #F84FB8
split-complementary
#F8E44F #4FB8F8 #8F4FF8
monochromatic
#C5AE08 #F6DB14 #F8E44F #FAED8A #FDF6C5

Accessibility & contrast

On white

1.30
#F8E44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#F8E44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E44F
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E44F#FFFFFF#000000##000000
##F8E44F1.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD39
Deuteranopia (green-blind)
#FEE658
Tritanopia (blue-blind)
#FFD4C6
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e44f;
/* rgb */ color: rgb(248, 228, 79);
/* oklch */ color: oklch(90.9% 0.164 101.5);
Tailwind
colors: {
  custom: {
    50: '#feec88',
    500: '#f8e44f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e44f;
$custom-light: #feec88;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e44f",
  "rgb": {
    "r": 248,
    "g": 228,
    "b": 79
  },
  "hsl": {
    "h": 52.899,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90941,
    "c": 0.1637,
    "h": 101.5
  },
  "luminance": 0.76008
}

Semantic roles & 50–950 ramp

primary
#F8E44F
secondary
#2A3CC2
accent
#1BE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F8E44F

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

Preview Lab → · Contrast checker → · Palette generator →

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