#F8E374#F8E374

#F8E374 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.133 H 98.8°. Best body text is #000000 at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#F8E374
RGBrgb(248, 227, 116)
HSLhsl(50, 90%, 71%)
HSVhsv(50, 53%, 97%)
CMYKcmyk(0%, 8.5%, 53.2%, 2.7%)
CIE-LABlab(89.93, -6.51, 56.12)
CIE-LCHlch(89.93, 56.49, 96.61°)
OKLaboklab(91.1% -0.0204 0.1319)
OKLCHoklch(91.1% 0.133 98.8)
XYZxyz(69.3352, 76.1583, 27.5674)
Luminance0.7616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E374 #7489F8
analogous
#F8A174 #F8E374 #CBF874
triadic
#F8E374 #74F8E3 #E374F8
tetradic
#F8E374 #74F8A1 #7489F8 #F874CB
square
#F8E374 #74F8A1 #7489F8 #F874CB
split-complementary
#F8E374 #74CBF8 #A174F8
monochromatic
#E6C30C #F5D73A #F8E374 #FBEFAE #FEF9E2

Accessibility & contrast

On white

1.29
#F8E374 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.23
#F8E374 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E374
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E374#FFFFFF#000000##000000
##F8E3741.001.2916.2316.23
#FFFFFF1.291.0021.0021.00
#00000016.2321.001.001.00
##00000016.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6A
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#FFD5CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e374;
/* rgb */ color: rgb(248, 227, 116);
/* oklch */ color: oklch(91.1% 0.133 98.8);
Tailwind
colors: {
  custom: {
    50: '#fdeb9f',
    500: '#f8e374',
    950: '#000000',
  },
}
SCSS
$custom: #f8e374;
$custom-light: #fdeb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e374",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 116
  },
  "hsl": {
    "h": 50.455,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91099,
    "c": 0.13346,
    "h": 98.8
  },
  "luminance": 0.76156
}

Semantic roles & 50–950 ramp

primary
#F8E374
secondary
#3D55D3
accent
#25E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E374

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

Preview Lab → · Contrast checker → · Palette generator →

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