#F8EF72#F8EF72

#F8EF72 is a very light, vivid yellow. Relative luminance 0.829; OKLCH L 93.5% C 0.146 H 105.1°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#F8EF72
RGBrgb(248, 239, 114)
HSLhsl(56, 91%, 71%)
HSVhsv(56, 54%, 97%)
CMYKcmyk(0%, 3.6%, 54%, 2.7%)
CIE-LABlab(92.97, -12.62, 60.56)
CIE-LCHlch(92.97, 61.86, 101.77°)
OKLaboklab(93.51% -0.0382 0.1413)
OKLCHoklch(93.51% 0.146 105.1)
XYZxyz(72.6173, 82.9067, 28.0937)
Luminance0.8290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF72 #727BF8
analogous
#F8AC72 #F8EF72 #BEF872
triadic
#F8EF72 #72F8EF #EF72F8
tetradic
#F8EF72 #72F8AC #727BF8 #F872BE
square
#F8EF72 #72F8AC #727BF8 #F872BE
split-complementary
#F8EF72 #72BEF8 #AC72F8
monochromatic
#E4D60B #F5E838 #F8EF72 #FBF6AC #FEFCE2

Accessibility & contrast

On white

1.19
#F8EF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#F8EF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF72
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF72#FFFFFF#000000##000000
##F8EF721.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef72;
/* rgb */ color: rgb(248, 239, 114);
/* oklch */ color: oklch(93.5% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fdf49e',
    500: '#f8ef72',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef72;
$custom-light: #fdf49e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef72",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 114
  },
  "hsl": {
    "h": 55.97,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93506,
    "c": 0.14636,
    "h": 105.1
  },
  "luminance": 0.82904
}

Semantic roles & 50–950 ramp

primary
#F8EF72
secondary
#3B45D3
accent
#0FE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EF72

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

Preview Lab → · Contrast checker → · Palette generator →

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