#F8ED76#F8ED76

#F8ED76 is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 93.1% C 0.141 H 104.0°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#F8ED76
RGBrgb(248, 237, 118)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 52%, 97%)
CMYKcmyk(0%, 4.4%, 52.4%, 2.7%)
CIE-LABlab(92.50, -11.32, 58.21)
CIE-LCHlch(92.50, 59.30, 101.01°)
OKLaboklab(93.15% -0.034 0.1366)
OKLCHoklch(93.15% 0.141 104)
XYZxyz(72.2677, 81.8352, 29.1250)
Luminance0.8183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED76 #7681F8
analogous
#F8AC76 #F8ED76 #C2F876
triadic
#F8ED76 #76F8ED #ED76F8
tetradic
#F8ED76 #76F8AC #7681F8 #F876C2
square
#F8ED76 #76F8AC #7681F8 #F876C2
split-complementary
#F8ED76 #76C2F8 #AC76F8
monochromatic
#E8D50C #F5E53C #F8ED76 #FBF5B0 #FEFBE2

Accessibility & contrast

On white

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

On black

17.37
#F8ED76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED76
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED76#FFFFFF#000000##000000
##F8ED761.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE66B
Deuteranopia (green-blind)
#FFEC7C
Tritanopia (blue-blind)
#FFDFD2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed76;
/* rgb */ color: rgb(248, 237, 118);
/* oklch */ color: oklch(93.1% 0.141 104.0);
Tailwind
colors: {
  custom: {
    50: '#fdf2a0',
    500: '#f8ed76',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed76;
$custom-light: #fdf2a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed76",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 118
  },
  "hsl": {
    "h": 54.923,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.93145,
    "c": 0.14079,
    "h": 104
  },
  "luminance": 0.81833
}

Semantic roles & 50–950 ramp

primary
#F8ED76
secondary
#3F4BD4
accent
#13E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8ED76

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

Preview Lab → · Contrast checker → · Palette generator →

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