#F6F97A#F6F97A

#F6F97A is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.5% C 0.150 H 110.1°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F6F97A
RGBrgb(246, 249, 122)
HSLhsl(61, 91%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(1.2%, 0%, 51%, 2.4%)
CIE-LABlab(95.48, -17.65, 59.83)
CIE-LCHlch(95.48, 62.38, 106.44°)
OKLaboklab(95.49% -0.0516 0.1406)
OKLCHoklch(95.49% 0.15 110.1)
XYZxyz(75.3963, 88.7510, 31.5675)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F97A #7D7AF9
analogous
#F9BC7A #F6F97A #B7F97A
triadic
#F6F97A #7AF6F9 #F97AF6
tetradic
#F6F97A #7AF9BC #7D7AF9 #F97AB7
square
#F6F97A #7AF9BC #7D7AF9 #F97AB7
split-complementary
#F6F97A #7AB7F9 #BC7AF9
monochromatic
#E9EE0B #F2F63F #F6F97A #FAFCB5 #FDFEE2

Accessibility & contrast

On white

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

On black

18.75
#F6F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F97A
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F97A#FFFFFF#000000##000000
##F6F97A1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.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: #f6f97a;
/* rgb */ color: rgb(246, 249, 122);
/* oklch */ color: oklch(95.5% 0.150 110.1);
Tailwind
colors: {
  custom: {
    50: '#fbfba4',
    500: '#f6f97a',
    950: '#000000',
  },
}
SCSS
$custom: #f6f97a;
$custom-light: #fbfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f97a",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 61.417,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95487,
    "c": 0.14971,
    "h": 110.1
  },
  "luminance": 0.88749
}

Semantic roles & 50–950 ramp

primary
#F6F97A
secondary
#4542D5
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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