#F7F992#F7F992

#F7F992 is a very light, vivid yellow. Relative luminance 0.896; OKLCH L 95.9% C 0.126 H 109.5°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#F7F992
RGBrgb(247, 249, 146)
HSLhsl(61, 90%, 77%)
HSVhsv(61, 41%, 98%)
CMYKcmyk(0.8%, 0%, 41.4%, 2.4%)
CIE-LABlab(95.83, -15.07, 49.09)
CIE-LCHlch(95.83, 51.35, 107.07°)
OKLaboklab(95.88% -0.0421 0.1187)
OKLCHoklch(95.88% 0.126 109.5)
XYZxyz(77.4229, 89.6024, 40.4050)
Luminance0.8960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F992 #9492F9
analogous
#F9C792 #F7F992 #C4F992
triadic
#F7F992 #92F7F9 #F992F7
tetradic
#F7F992 #92F9C7 #9492F9 #F992C4
square
#F7F992 #92F9C7 #9492F9 #F992C4
split-complementary
#F7F992 #92C4F9 #C792F9
monochromatic
#EEF31E #F3F658 #F7F992 #FBFCCC #FDFDE2

Accessibility & contrast

On white

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

On black

18.92
#F7F992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F992
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F992#FFFFFF#000000##000000
##F7F9921.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18A
Deuteranopia (green-blind)
#FFF597
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f7f992;
/* rgb */ color: rgb(247, 249, 146);
/* oklch */ color: oklch(95.9% 0.126 109.5);
Tailwind
colors: {
  custom: {
    50: '#fbfbb3',
    500: '#f7f992',
    950: '#000000',
  },
}
SCSS
$custom: #f7f992;
$custom-light: #fbfbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f992",
  "rgb": {
    "r": 247,
    "g": 249,
    "b": 146
  },
  "hsl": {
    "h": 61.165,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9588,
    "c": 0.1259,
    "h": 109.5
  },
  "luminance": 0.89601
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F7F992

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

Preview Lab → · Contrast checker → · Palette generator →

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