#F8EB76#F8EB76

#F8EB76 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.7% C 0.139 H 103.0°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#F8EB76
RGBrgb(248, 235, 118)
HSLhsl(54, 90%, 72%)
HSVhsv(54, 52%, 97%)
CMYKcmyk(0%, 5.2%, 52.4%, 2.7%)
CIE-LABlab(91.99, -10.33, 57.61)
CIE-LCHlch(91.99, 58.53, 100.17°)
OKLaboklab(92.74% -0.0312 0.1353)
OKLCHoklch(92.74% 0.139 103)
XYZxyz(71.6919, 80.6835, 28.9331)
Luminance0.8068 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EB76 #7683F8
analogous
#F8AA76 #F8EB76 #C4F876
triadic
#F8EB76 #76F8EB #EB76F8
tetradic
#F8EB76 #76F8AA #7683F8 #F876C4
square
#F8EB76 #76F8AA #7683F8 #F876C4
split-complementary
#F8EB76 #76C4F8 #AA76F8
monochromatic
#E8D20C #F5E33C #F8EB76 #FBF4B0 #FEFBE2

Accessibility & contrast

On white

1.23
#F8EB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#F8EB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EB76
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EB76#FFFFFF#000000##000000
##F8EB761.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE46B
Deuteranopia (green-blind)
#FFEB7C
Tritanopia (blue-blind)
#FFDDD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f8eb76;
/* rgb */ color: rgb(248, 235, 118);
/* oklch */ color: oklch(92.7% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#fdf1a0',
    500: '#f8eb76',
    950: '#000000',
  },
}
SCSS
$custom: #f8eb76;
$custom-light: #fdf1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8eb76",
  "rgb": {
    "r": 248,
    "g": 235,
    "b": 118
  },
  "hsl": {
    "h": 54,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.13888,
    "h": 103
  },
  "luminance": 0.80681
}

Semantic roles & 50–950 ramp

primary
#F8EB76
secondary
#3F4DD4
accent
#17E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F8EB76

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

Preview Lab → · Contrast checker → · Palette generator →

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