#F8E378#F8E378

#F8E378 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.130 H 98.4°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F8E378
RGBrgb(248, 227, 120)
HSLhsl(50, 90%, 72%)
HSVhsv(50, 52%, 97%)
CMYKcmyk(0%, 8.5%, 51.6%, 2.7%)
CIE-LABlab(89.98, -6.18, 54.31)
CIE-LCHlch(89.98, 54.66, 96.50°)
OKLaboklab(91.15% -0.019 0.1283)
OKLCHoklch(91.15% 0.13 98.4)
XYZxyz(69.5729, 76.2534, 28.8193)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E378 #788DF8
analogous
#F8A378 #F8E378 #CDF878
triadic
#F8E378 #78F8E3 #E378F8
tetradic
#F8E378 #78F8A3 #788DF8 #F878CD
square
#F8E378 #78F8A3 #788DF8 #F878CD
split-complementary
#F8E378 #78CDF8 #A378F8
monochromatic
#E9C50C #F5D73E #F8E378 #FBEFB2 #FDF9E2

Accessibility & contrast

On white

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

On black

16.25
#F8E378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E378
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E378#FFFFFF#000000##000000
##F8E3781.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DE6E
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e378;
/* rgb */ color: rgb(248, 227, 120);
/* oklch */ color: oklch(91.1% 0.130 98.4);
Tailwind
colors: {
  custom: {
    50: '#fdeba1',
    500: '#f8e378',
    950: '#000000',
  },
}
SCSS
$custom: #f8e378;
$custom-light: #fdeba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e378",
  "rgb": {
    "r": 248,
    "g": 227,
    "b": 120
  },
  "hsl": {
    "h": 50.156,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91149,
    "c": 0.12973,
    "h": 98.4
  },
  "luminance": 0.76251
}

Semantic roles & 50–950 ramp

primary
#F8E378
secondary
#4059D4
accent
#26E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E378

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

Preview Lab → · Contrast checker → · Palette generator →

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