#F6F997#F6F997

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

Color values

HEX#F6F997
RGBrgb(246, 249, 151)
HSLhsl(62, 89%, 78%)
HSVhsv(62, 39%, 98%)
CMYKcmyk(1.2%, 0%, 39.4%, 2.4%)
CIE-LABlab(95.82, -14.94, 46.65)
CIE-LCHlch(95.82, 48.99, 107.76°)
OKLaboklab(95.88% -0.0413 0.1134)
OKLCHoklch(95.88% 0.121 110)
XYZxyz(77.4686, 89.5800, 42.4819)
Luminance0.8958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F997 #9A97F9
analogous
#F9CB97 #F6F997 #C5F997
triadic
#F6F997 #97F6F9 #F997F6
tetradic
#F6F997 #97F9CB #9A97F9 #F997C5
square
#F6F997 #97F9CB #9A97F9 #F997C5
split-complementary
#F6F997 #97C5F9 #CB97F9
monochromatic
#ECF223 #F1F65D #F6F997 #FBFCD1 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F6F997#FFFFFF#000000##000000
##F6F9971.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)
#FFF18F
Deuteranopia (green-blind)
#FFF59B
Tritanopia (blue-blind)
#FFEEE1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f6f997;
/* rgb */ color: rgb(246, 249, 151);
/* oklch */ color: oklch(95.9% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#fafbb7',
    500: '#f6f997',
    950: '#000000',
  },
}
SCSS
$custom: #f6f997;
$custom-light: #fafbb7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f997",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 151
  },
  "hsl": {
    "h": 61.837,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95875,
    "c": 0.12071,
    "h": 110
  },
  "luminance": 0.89579
}

Semantic roles & 50–950 ramp

primary
#F6F997
secondary
#5F5BD9
accent
#00E607
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F6F997

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

Preview Lab → · Contrast checker → · Palette generator →

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