#F8F790#F8F790

#F8F790 is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.5% C 0.126 H 108.1°. Best body text is #000000 at 18.70:1 contrast (WCAG AA passes).

Color values

HEX#F8F790
RGBrgb(248, 247, 144)
HSLhsl(59, 88%, 77%)
HSVhsv(59, 42%, 97%)
CMYKcmyk(0%, 0.4%, 41.9%, 2.7%)
CIE-LABlab(95.37, -13.91, 49.49)
CIE-LCHlch(95.37, 51.41, 105.70°)
OKLaboklab(95.52% -0.039 0.1194)
OKLCHoklch(95.52% 0.126 108.1)
XYZxyz(77.0075, 88.4933, 39.4045)
Luminance0.8849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F790 #9091F8
analogous
#F8C390 #F8F790 #C5F890
triadic
#F8F790 #90F8F7 #F790F8
tetradic
#F8F790 #90F8C3 #9091F8 #F890C5
square
#F8F790 #90F8C3 #9091F8 #F890C5
split-complementary
#F8F790 #90C5F8 #C390F8
monochromatic
#F1EF1D #F4F356 #F8F790 #FCFBCA #FDFDE2

Accessibility & contrast

On white

1.12
#F8F790 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.70
#F8F790 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F790
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F790#FFFFFF#000000##000000
##F8F7901.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF88
Deuteranopia (green-blind)
#FFF495
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f790;
/* rgb */ color: rgb(248, 247, 144);
/* oklch */ color: oklch(95.5% 0.126 108.1);
Tailwind
colors: {
  custom: {
    50: '#fcf9b2',
    500: '#f8f790',
    950: '#000000',
  },
}
SCSS
$custom: #f8f790;
$custom-light: #fcf9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f790",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 144
  },
  "hsl": {
    "h": 59.423,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95521,
    "c": 0.12563,
    "h": 108.1
  },
  "luminance": 0.88492
}

Semantic roles & 50–950 ramp

primary
#F8F790
secondary
#5557D7
accent
#03E501
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F790

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

Preview Lab → · Contrast checker → · Palette generator →

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