#F8F378#F8F378

#F8F378 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.145 H 106.8°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F8F378
RGBrgb(248, 243, 120)
HSLhsl(58, 90%, 72%)
HSVhsv(58, 52%, 97%)
CMYKcmyk(0%, 2%, 51.6%, 2.7%)
CIE-LABlab(94.06, -14.11, 59.12)
CIE-LCHlch(94.06, 60.78, 103.42°)
OKLaboklab(94.39% -0.0418 0.1388)
OKLCHoklch(94.39% 0.145 106.8)
XYZxyz(74.1541, 85.4158, 30.3463)
Luminance0.8541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F378 #787DF8
analogous
#F8B378 #F8F378 #BDF878
triadic
#F8F378 #78F8F3 #F378F8
tetradic
#F8F378 #78F8B3 #787DF8 #F878BD
square
#F8F378 #78F8B3 #787DF8 #F878BD
split-complementary
#F8F378 #78BDF8 #B378F8
monochromatic
#E9E10C #F5EE3E #F8F378 #FBF8B2 #FDFCE2

Accessibility & contrast

On white

1.16
#F8F378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#F8F378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F378
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F378#FFFFFF#000000##000000
##F8F3781.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f378;
/* rgb */ color: rgb(248, 243, 120);
/* oklch */ color: oklch(94.4% 0.145 106.8);
Tailwind
colors: {
  custom: {
    50: '#fdf6a2',
    500: '#f8f378',
    950: '#000000',
  },
}
SCSS
$custom: #f8f378;
$custom-light: #fdf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f378",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 57.656,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94392,
    "c": 0.14495,
    "h": 106.8
  },
  "luminance": 0.85414
}

Semantic roles & 50–950 ramp

primary
#F8F378
secondary
#4046D4
accent
#09E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F378

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

Preview Lab → · Contrast checker → · Palette generator →

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