#F7F97B#F7F97B

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

Color values

HEX#F7F97B
RGBrgb(247, 249, 123)
HSLhsl(61, 91%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(0.8%, 0%, 50.6%, 2.4%)
CIE-LABlab(95.56, -17.18, 59.50)
CIE-LCHlch(95.56, 61.93, 106.10°)
OKLaboklab(95.58% -0.0502 0.1399)
OKLCHoklch(95.58% 0.149 109.7)
XYZxyz(75.8103, 88.9573, 31.9120)
Luminance0.8896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F97B #7D7BF9
analogous
#F9BC7B #F7F97B #B8F97B
triadic
#F7F97B #7BF7F9 #F97BF7
tetradic
#F7F97B #7BF9BC #7D7BF9 #F97BB8
square
#F7F97B #7BF9BC #7D7BF9 #F97BB8
split-complementary
#F7F97B #7BB8F9 #BC7BF9
monochromatic
#EBEF0B #F3F640 #F7F97B #FBFCB6 #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F7F97B#FFFFFF#000000##000000
##F7F97B1.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)
#FFF06F
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f7f97b;
/* rgb */ color: rgb(247, 249, 123);
/* oklch */ color: oklch(95.6% 0.149 109.7);
Tailwind
colors: {
  custom: {
    50: '#fcfba4',
    500: '#f7f97b',
    950: '#000000',
  },
}
SCSS
$custom: #f7f97b;
$custom-light: #fcfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f97b",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 60.952,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95578,
    "c": 0.14864,
    "h": 109.7
  },
  "luminance": 0.88956
}

Semantic roles & 50–950 ramp

primary
#F7F97B
secondary
#4543D6
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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