#F8EF6A#F8EF6A

#F8EF6A is a very light, vivid yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.153 H 105.4°. Best body text is #000000 at 17.55:1 contrast (WCAG AA passes).

Color values

HEX#F8EF6A
RGBrgb(248, 239, 106)
HSLhsl(56, 91%, 69%)
HSVhsv(56, 57%, 97%)
CMYKcmyk(0%, 3.6%, 57.3%, 2.7%)
CIE-LABlab(92.90, -13.21, 63.99)
CIE-LCHlch(92.90, 65.34, 101.66°)
OKLaboklab(93.42% -0.0407 0.1478)
OKLCHoklch(93.42% 0.153 105.4)
XYZxyz(72.1818, 82.7324, 25.7996)
Luminance0.8273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF6A #6A73F8
analogous
#F8A86A #F8EF6A #BAF86A
triadic
#F8EF6A #6AF8EF #EF6AF8
tetradic
#F8EF6A #6AF8A8 #6A73F8 #F86ABA
square
#F8EF6A #6AF8A8 #6A73F8 #F86ABA
split-complementary
#F8EF6A #6ABAF8 #A86AF8
monochromatic
#DDD00A #F5E930 #F8EF6A #FBF5A4 #FDFCDF

Accessibility & contrast

On white

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

On black

17.55
#F8EF6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF6A
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF6A#FFFFFF#000000##000000
##F8EF6A1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFED71
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef6a;
/* rgb */ color: rgb(248, 239, 106);
/* oklch */ color: oklch(93.4% 0.153 105.4);
Tailwind
colors: {
  custom: {
    50: '#fdf499',
    500: '#f8ef6a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef6a;
$custom-light: #fdf499;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef6a",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 106
  },
  "hsl": {
    "h": 56.197,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.93421,
    "c": 0.15327,
    "h": 105.4
  },
  "luminance": 0.8273
}

Semantic roles & 50–950 ramp

primary
#F8EF6A
secondary
#343ED2
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F8EF6A

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

Preview Lab → · Contrast checker → · Palette generator →

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