#F8F290#F8F290

#F8F290 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.5% C 0.120 H 105.4°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F8F290
RGBrgb(248, 242, 144)
HSLhsl(57, 88%, 77%)
HSVhsv(57, 42%, 97%)
CMYKcmyk(0%, 2.4%, 41.9%, 2.7%)
CIE-LABlab(94.09, -11.46, 47.89)
CIE-LCHlch(94.09, 49.24, 103.45°)
OKLaboklab(94.5% -0.0319 0.1158)
OKLCHoklch(94.5% 0.12 105.4)
XYZxyz(75.4990, 85.4762, 38.9016)
Luminance0.8547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F290 #9096F8
analogous
#F8BE90 #F8F290 #CAF890
triadic
#F8F290 #90F8F2 #F290F8
tetradic
#F8F290 #90F8BE #9096F8 #F890CA
square
#F8F290 #90F8BE #9096F8 #F890CA
split-complementary
#F8F290 #90CAF8 #BE90F8
monochromatic
#F1E51D #F4EB56 #F8F290 #FCF9CA #FDFCE2

Accessibility & contrast

On white

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

On black

18.09
#F8F290 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F290
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F290#FFFFFF#000000##000000
##F8F2901.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB88
Deuteranopia (green-blind)
#FFF094
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f8f290;
/* rgb */ color: rgb(248, 242, 144);
/* oklch */ color: oklch(94.5% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#fcf6b2',
    500: '#f8f290',
    950: '#000000',
  },
}
SCSS
$custom: #f8f290;
$custom-light: #fcf6b2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f290",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 144
  },
  "hsl": {
    "h": 56.538,
    "s": 88.136,
    "l": 76.863
  },
  "oklch": {
    "l": 0.94504,
    "c": 0.12016,
    "h": 105.4
  },
  "luminance": 0.85474
}

Semantic roles & 50–950 ramp

primary
#F8F290
secondary
#555DD7
accent
#0EE501
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F290

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

Preview Lab → · Contrast checker → · Palette generator →

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