#F8E774#F8E774

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

Color values

HEX#F8E774
RGBrgb(248, 231, 116)
HSLhsl(52, 90%, 71%)
HSVhsv(52, 53%, 97%)
CMYKcmyk(0%, 6.9%, 53.2%, 2.7%)
CIE-LABlab(90.95, -8.51, 57.31)
CIE-LCHlch(90.95, 57.94, 98.44°)
OKLaboklab(91.91% -0.0262 0.1345)
OKLCHoklch(91.91% 0.137 101)
XYZxyz(70.4420, 78.3718, 27.9363)
Luminance0.7837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E774 #7485F8
analogous
#F8A574 #F8E774 #C7F874
triadic
#F8E774 #74F8E7 #E774F8
tetradic
#F8E774 #74F8A5 #7485F8 #F874C7
square
#F8E774 #74F8A5 #7485F8 #F874C7
split-complementary
#F8E774 #74C7F8 #A574F8
monochromatic
#E6CA0C #F5DD3A #F8E774 #FBF1AE #FEFAE2

Accessibility & contrast

On white

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

On black

16.67
#F8E774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E774
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E774#FFFFFF#000000##000000
##F8E7741.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e774;
/* rgb */ color: rgb(248, 231, 116);
/* oklch */ color: oklch(91.9% 0.137 101.0);
Tailwind
colors: {
  custom: {
    50: '#fdee9f',
    500: '#f8e774',
    950: '#000000',
  },
}
SCSS
$custom: #f8e774;
$custom-light: #fdee9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e774",
  "rgb": {
    "r": 248,
    "g": 231,
    "b": 116
  },
  "hsl": {
    "h": 52.273,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91905,
    "c": 0.137,
    "h": 101
  },
  "luminance": 0.78369
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8E774

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

Preview Lab → · Contrast checker → · Palette generator →

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