#F8EE62#F8EE62

#F8EE62 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.159 H 105.2°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F8EE62
RGBrgb(248, 238, 98)
HSLhsl(56, 91%, 68%)
HSVhsv(56, 60%, 97%)
CMYKcmyk(0%, 4%, 60.5%, 2.7%)
CIE-LABlab(92.57, -13.25, 67.03)
CIE-LCHlch(92.57, 68.33, 101.19°)
OKLaboklab(93.14% -0.0417 0.1532)
OKLCHoklch(93.14% 0.159 105.2)
XYZxyz(71.4930, 81.9898, 23.6126)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EE62 #626CF8
analogous
#F8A362 #F8EE62 #B7F862
triadic
#F8EE62 #62F8EE #EE62F8
tetradic
#F8EE62 #62F8A3 #626CF8 #F862B7
square
#F8EE62 #62F8A3 #626CF8 #F862B7
split-complementary
#F8EE62 #62B7F8 #A362F8
monochromatic
#D6C80A #F5E827 #F8EE62 #FBF49D #FDFBD7

Accessibility & contrast

On white

1.21
#F8EE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#F8EE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EE62
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EE62#FFFFFF#000000##000000
##F8EE621.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE652
Deuteranopia (green-blind)
#FFED6A
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ee62;
/* rgb */ color: rgb(248, 238, 98);
/* oklch */ color: oklch(93.1% 0.159 105.2);
Tailwind
colors: {
  custom: {
    50: '#fef394',
    500: '#f8ee62',
    950: '#000000',
  },
}
SCSS
$custom: #f8ee62;
$custom-light: #fef394;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ee62",
  "rgb": {
    "r": 248,
    "g": 238,
    "b": 98
  },
  "hsl": {
    "h": 56,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.93138,
    "c": 0.15879,
    "h": 105.2
  },
  "luminance": 0.81987
}

Semantic roles & 50–950 ramp

primary
#F8EE62
secondary
#2E39D0
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8EE62

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

Preview Lab → · Contrast checker → · Palette generator →

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