#F7F98E#F7F98E

#F7F98E is a very light, vivid yellow. Relative luminance 0.895; OKLCH L 95.8% C 0.130 H 109.6°. Best body text is #000000 at 18.90:1 contrast (WCAG AA passes).

Color values

HEX#F7F98E
RGBrgb(247, 249, 142)
HSLhsl(61, 90%, 77%)
HSVhsv(61, 43%, 98%)
CMYKcmyk(0.8%, 0%, 43%, 2.4%)
CIE-LABlab(95.78, -15.47, 50.94)
CIE-LCHlch(95.78, 53.24, 106.89°)
OKLaboklab(95.82% -0.0435 0.1226)
OKLCHoklch(95.82% 0.13 109.6)
XYZxyz(77.1172, 89.4801, 38.7949)
Luminance0.8948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F98E #908EF9
analogous
#F9C58E #F7F98E #C2F98E
triadic
#F7F98E #8EF7F9 #F98EF7
tetradic
#F7F98E #8EF9C5 #908EF9 #F98EC2
square
#F7F98E #8EF9C5 #908EF9 #F98EC2
split-complementary
#F7F98E #8EC2F9 #C58EF9
monochromatic
#EFF31A #F3F654 #F7F98E #FBFCC8 #FDFDE2

Accessibility & contrast

On white

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

On black

18.90
#F7F98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F98E
18.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F98E#FFFFFF#000000##000000
##F7F98E1.001.1118.9018.90
#FFFFFF1.111.0021.0021.00
#00000018.9021.001.001.00
##00000018.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF593
Tritanopia (blue-blind)
#FFEDDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7f98e;
/* rgb */ color: rgb(247, 249, 142);
/* oklch */ color: oklch(95.8% 0.130 109.6);
Tailwind
colors: {
  custom: {
    50: '#fbfbb1',
    500: '#f7f98e',
    950: '#000000',
  },
}
SCSS
$custom: #f7f98e;
$custom-light: #fbfbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f98e",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 142
  },
  "hsl": {
    "h": 61.121,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95823,
    "c": 0.13006,
    "h": 109.6
  },
  "luminance": 0.89479
}

Semantic roles & 50–950 ramp

primary
#F7F98E
secondary
#5653D8
accent
#00E604
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7F98E

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

Preview Lab → · Contrast checker → · Palette generator →

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