#F8EF58#F8EF58

#F8EF58 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 93.3% C 0.167 H 105.9°. Best body text is #000000 at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#F8EF58
RGBrgb(248, 239, 88)
HSLhsl(57, 92%, 66%)
HSVhsv(57, 65%, 97%)
CMYKcmyk(0%, 3.6%, 64.5%, 2.7%)
CIE-LABlab(92.75, -14.35, 71.26)
CIE-LCHlch(92.75, 72.69, 101.38°)
OKLaboklab(93.26% -0.0458 0.1607)
OKLCHoklch(93.26% 0.167 105.9)
XYZxyz(71.3420, 82.3965, 21.3768)
Luminance0.8239 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF58 #5861F8
analogous
#F89F58 #F8EF58 #B1F858
triadic
#F8EF58 #58F8EF #EF58F8
tetradic
#F8EF58 #58F89F #5861F8 #F858B1
square
#F8EF58 #58F89F #5861F8 #F858B1
split-complementary
#F8EF58 #58B1F8 #9F58F8
monochromatic
#CDC209 #F6E91D #F8EF58 #FAF593 #FDFACD

Accessibility & contrast

On white

1.20
#F8EF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.48
#F8EF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF58
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF58#FFFFFF#000000##000000
##F8EF581.001.2017.4817.48
#FFFFFF1.201.0021.0021.00
#00000017.4821.001.001.00
##00000017.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE744
Deuteranopia (green-blind)
#FFED61
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ef58;
/* rgb */ color: rgb(248, 239, 88);
/* oklch */ color: oklch(93.3% 0.167 105.9);
Tailwind
colors: {
  custom: {
    50: '#fef48e',
    500: '#f8ef58',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef58;
$custom-light: #fef48e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef58",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 88
  },
  "hsl": {
    "h": 56.625,
    "s": 91.954,
    "l": 65.882
  },
  "oklch": {
    "l": 0.93256,
    "c": 0.16714,
    "h": 105.9
  },
  "luminance": 0.82394
}

Semantic roles & 50–950 ramp

primary
#F8EF58
secondary
#2C34C9
accent
#0DE600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F8EF58

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

Preview Lab → · Contrast checker → · Palette generator →

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