#F6F97B#F6F97B

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

Color values

HEX#F6F97B
RGBrgb(246, 249, 123)
HSLhsl(61, 91%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(1.2%, 0%, 50.6%, 2.4%)
CIE-LABlab(95.49, -17.57, 59.39)
CIE-LCHlch(95.49, 61.94, 106.48°)
OKLaboklab(95.5% -0.0512 0.1397)
OKLCHoklch(95.5% 0.149 110.1)
XYZxyz(75.4586, 88.7759, 31.8955)
Luminance0.8877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F97B #7E7BF9
analogous
#F9BD7B #F6F97B #B7F97B
triadic
#F6F97B #7BF6F9 #F97BF6
tetradic
#F6F97B #7BF9BD #7E7BF9 #F97BB7
square
#F6F97B #7BF9BD #7E7BF9 #F97BB7
split-complementary
#F6F97B #7BB7F9 #BD7BF9
monochromatic
#E9EF0B #F2F640 #F6F97B #FAFCB6 #FDFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #f6f97b;
/* rgb */ color: rgb(246, 249, 123);
/* oklch */ color: oklch(95.5% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#fbfba4',
    500: '#f6f97b',
    950: '#000000',
  },
}
SCSS
$custom: #f6f97b;
$custom-light: #fbfba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f97b",
  "rgb": {
    "r": 246,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 61.429,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95499,
    "c": 0.14879,
    "h": 110.1
  },
  "luminance": 0.88774
}

Semantic roles & 50–950 ramp

primary
#F6F97B
secondary
#4643D6
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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