#F8EF76#F8EF76

#F8EF76 is a very light, vivid yellow. Relative luminance 0.830; OKLCH L 93.6% C 0.143 H 105.0°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#F8EF76
RGBrgb(248, 239, 118)
HSLhsl(56, 90%, 72%)
HSVhsv(56, 52%, 97%)
CMYKcmyk(0%, 3.6%, 52.4%, 2.7%)
CIE-LABlab(93.01, -12.31, 58.81)
CIE-LCHlch(93.01, 60.08, 101.82°)
OKLaboklab(93.55% -0.0368 0.1379)
OKLCHoklch(93.55% 0.143 105)
XYZxyz(72.8500, 82.9997, 29.3191)
Luminance0.8300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF76 #767FF8
analogous
#F8AE76 #F8EF76 #C0F876
triadic
#F8EF76 #76F8EF #EF76F8
tetradic
#F8EF76 #76F8AE #767FF8 #F876C0
square
#F8EF76 #76F8AE #767FF8 #F876C0
split-complementary
#F8EF76 #76C0F8 #AE76F8
monochromatic
#E8D90C #F5E83C #F8EF76 #FBF6B0 #FEFCE2

Accessibility & contrast

On white

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

On black

17.60
#F8EF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF76
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF76#FFFFFF#000000##000000
##F8EF761.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86A
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#FFE1D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef76;
/* rgb */ color: rgb(248, 239, 118);
/* oklch */ color: oklch(93.6% 0.143 105.0);
Tailwind
colors: {
  custom: {
    50: '#fdf4a1',
    500: '#f8ef76',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef76;
$custom-light: #fdf4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef76",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 118
  },
  "hsl": {
    "h": 55.846,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93552,
    "c": 0.14276,
    "h": 105
  },
  "luminance": 0.82997
}

Semantic roles & 50–950 ramp

primary
#F8EF76
secondary
#3F49D4
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EF76

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

Preview Lab → · Contrast checker → · Palette generator →

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