#F8FA7A#F8FA7A

#F8FA7A is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.9% C 0.150 H 109.7°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#F8FA7A
RGBrgb(248, 250, 122)
HSLhsl(61, 93%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(0.8%, 0%, 51.2%, 2%)
CIE-LABlab(95.89, -17.35, 60.35)
CIE-LCHlch(95.89, 62.79, 106.04°)
OKLaboklab(95.85% -0.0508 0.1416)
OKLCHoklch(95.85% 0.15 109.7)
XYZxyz(76.4117, 89.7346, 31.7039)
Luminance0.8973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FA7A #7C7AFA
analogous
#FABC7A #F8FA7A #B8FA7A
triadic
#F8FA7A #7AF8FA #FA7AF8
tetradic
#F8FA7A #7AFABC #7C7AFA #FA7AB8
square
#F8FA7A #7AFABC #7C7AFA #FA7AB8
split-complementary
#F8FA7A #7AB8FA #BC7AFA
monochromatic
#EDF109 #F5F83F #F8FA7A #FBFCB5 #FDFEE2

Accessibility & contrast

On white

1.11
#F8FA7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.95
#F8FA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FA7A
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FA7A#FFFFFF#000000##000000
##F8FA7A1.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16E
Deuteranopia (green-blind)
#FFF581
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8fa7a;
/* rgb */ color: rgb(248, 250, 122);
/* oklch */ color: oklch(95.9% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#fdfba4',
    500: '#f8fa7a',
    950: '#000000',
  },
}
SCSS
$custom: #f8fa7a;
$custom-light: #fdfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fa7a",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 60.938,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95852,
    "c": 0.15048,
    "h": 109.7
  },
  "luminance": 0.89733
}

Semantic roles & 50–950 ramp

primary
#F8FA7A
secondary
#4441D7
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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