#F8E775#F8E775

#F8E775 is a very light, vivid yellow. Relative luminance 0.784; OKLCH L 91.9% C 0.136 H 100.9°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#F8E775
RGBrgb(248, 231, 117)
HSLhsl(52, 90%, 72%)
HSVhsv(52, 53%, 97%)
CMYKcmyk(0%, 6.9%, 52.8%, 2.7%)
CIE-LABlab(90.96, -8.43, 56.86)
CIE-LCHlch(90.96, 57.48, 98.43°)
OKLaboklab(91.92% -0.0258 0.1336)
OKLCHoklch(91.92% 0.136 100.9)
XYZxyz(70.5005, 78.3952, 28.2443)
Luminance0.7839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E775 #7586F8
analogous
#F8A675 #F8E775 #C8F875
triadic
#F8E775 #75F8E7 #E775F8
tetradic
#F8E775 #75F8A6 #7586F8 #F875C8
square
#F8E775 #75F8A6 #7586F8 #F875C8
split-complementary
#F8E775 #75C8F8 #A675F8
monochromatic
#E7CA0C #F5DD3B #F8E775 #FBF1AF #FEFAE2

Accessibility & contrast

On white

1.26
#F8E775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.68
#F8E775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E775
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E775#FFFFFF#000000##000000
##F8E7751.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16A
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#FFD9CD
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e775;
/* rgb */ color: rgb(248, 231, 117);
/* oklch */ color: oklch(91.9% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#fdeea0',
    500: '#f8e775',
    950: '#000000',
  },
}
SCSS
$custom: #f8e775;
$custom-light: #fdeea0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e775",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 117
  },
  "hsl": {
    "h": 52.214,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91917,
    "c": 0.13608,
    "h": 100.9
  },
  "luminance": 0.78393
}

Semantic roles & 50–950 ramp

primary
#F8E775
secondary
#3E51D3
accent
#1EE600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E775

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

Preview Lab → · Contrast checker → · Palette generator →

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