#F8E54F#F8E54F

#F8E54F is a very light, vivid yellow. Relative luminance 0.766; OKLCH L 91.1% C 0.165 H 102.0°. Best body text is #000000 at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#F8E54F
RGBrgb(248, 229, 79)
HSLhsl(53, 92%, 64%)
HSVhsv(53, 68%, 97%)
CMYKcmyk(0%, 7.7%, 68.1%, 2.7%)
CIE-LABlab(90.12, -9.90, 72.02)
CIE-LCHlch(90.12, 72.70, 97.83°)
OKLaboklab(91.14% -0.0342 0.1609)
OKLCHoklch(91.14% 0.165 102)
XYZxyz(68.1449, 76.5625, 18.5842)
Luminance0.7656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E54F #4F62F8
analogous
#F8904F #F8E54F #B7F84F
triadic
#F8E54F #4FF8E5 #E54FF8
tetradic
#F8E54F #4FF890 #4F62F8 #F84FB7
square
#F8E54F #4FF890 #4F62F8 #F84FB7
split-complementary
#F8E54F #4FB7F8 #904FF8
monochromatic
#C5B008 #F6DC14 #F8E54F #FAEE8A #FDF6C5

Accessibility & contrast

On white

1.29
#F8E54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.31
#F8E54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E54F
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E54F#FFFFFF#000000##000000
##F8E54F1.001.2916.3116.31
#FFFFFF1.291.0021.0021.00
#00000016.3121.001.001.00
##00000016.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE39
Deuteranopia (green-blind)
#FFE658
Tritanopia (blue-blind)
#FFD5C7
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f8e54f;
/* rgb */ color: rgb(248, 229, 79);
/* oklch */ color: oklch(91.1% 0.165 102.0);
Tailwind
colors: {
  custom: {
    50: '#feec88',
    500: '#f8e54f',
    950: '#000000',
  },
}
SCSS
$custom: #f8e54f;
$custom-light: #feec88;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e54f",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 53.254,
    "s": 92.35,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91144,
    "c": 0.16452,
    "h": 102
  },
  "luminance": 0.7656
}

Semantic roles & 50–950 ramp

primary
#F8E54F
secondary
#2A3BC2
accent
#1AE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160C
muted
#86847F

Preview Lab

Preview with #F8E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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