#F7F97A#F7F97A

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

Color values

HEX#F7F97A
RGBrgb(247, 249, 122)
HSLhsl(61, 91%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(0.8%, 0%, 51%, 2.4%)
CIE-LABlab(95.55, -17.26, 59.94)
CIE-LCHlch(95.55, 62.37, 106.06°)
OKLaboklab(95.57% -0.0505 0.1408)
OKLCHoklch(95.57% 0.15 109.7)
XYZxyz(75.7481, 88.9324, 31.5840)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F97A #7C7AF9
analogous
#F9BC7A #F7F97A #B7F97A
triadic
#F7F97A #7AF7F9 #F97AF7
tetradic
#F7F97A #7AF9BC #7C7AF9 #F97AB7
square
#F7F97A #7AF9BC #7C7AF9 #F97AB7
split-complementary
#F7F97A #7AB7F9 #BC7AF9
monochromatic
#EAEE0B #F3F63F #F7F97A #FBFCB5 #FDFEE2

Accessibility & contrast

On white

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

On black

18.79
#F7F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F97A
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F97A#FFFFFF#000000##000000
##F7F97A1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06E
Deuteranopia (green-blind)
#FFF481
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f97a;
/* rgb */ color: rgb(247, 249, 122);
/* oklch */ color: oklch(95.6% 0.150 109.7);
Tailwind
colors: {
  custom: {
    50: '#fcfba4',
    500: '#f7f97a',
    950: '#000000',
  },
}
SCSS
$custom: #f7f97a;
$custom-light: #fcfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f97a",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 60.945,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95567,
    "c": 0.14956,
    "h": 109.7
  },
  "luminance": 0.88931
}

Semantic roles & 50–950 ramp

primary
#F7F97A
secondary
#4442D5
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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