#F7F97D#F7F97D

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

Color values

HEX#F7F97D
RGBrgb(247, 249, 125)
HSLhsl(61, 91%, 73%)
HSVhsv(61, 50%, 98%)
CMYKcmyk(0.8%, 0%, 49.8%, 2.4%)
CIE-LABlab(95.58, -17.01, 58.62)
CIE-LCHlch(95.58, 61.04, 106.18°)
OKLaboklab(95.6% -0.0495 0.1382)
OKLCHoklch(95.6% 0.147 109.7)
XYZxyz(75.9368, 89.0079, 32.5781)
Luminance0.8901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F97D #7F7DF9
analogous
#F9BD7D #F7F97D #B9F97D
triadic
#F7F97D #7DF7F9 #F97DF7
tetradic
#F7F97D #7DF9BD #7F7DF9 #F97DB9
square
#F7F97D #7DF9BD #7F7DF9 #F97DB9
split-complementary
#F7F97D #7DB9F9 #BD7DF9
monochromatic
#EDF00B #F3F642 #F7F97D #FBFCB7 #FDFEE2

Accessibility & contrast

On white

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

On black

18.80
#F7F97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F97D
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F97D#FFFFFF#000000##000000
##F7F97D1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF071
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f97d;
/* rgb */ color: rgb(247, 249, 125);
/* oklch */ color: oklch(95.6% 0.147 109.7);
Tailwind
colors: {
  custom: {
    50: '#fcfba6',
    500: '#f7f97d',
    950: '#000000',
  },
}
SCSS
$custom: #f7f97d;
$custom-light: #fcfba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f97d",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 125
  },
  "hsl": {
    "h": 60.968,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95602,
    "c": 0.14678,
    "h": 109.7
  },
  "luminance": 0.89006
}

Semantic roles & 50–950 ramp

primary
#F7F97D
secondary
#4744D6
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F7F97D

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

Preview Lab → · Contrast checker → · Palette generator →

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