#F6FA5B#F6FA5B

#F6FA5B is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.176 H 110.7°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F6FA5B
RGBrgb(246, 250, 91)
HSLhsl(62, 94%, 67%)
HSVhsv(62, 64%, 98%)
CMYKcmyk(1.6%, 0%, 63.6%, 2%)
CIE-LABlab(95.46, -20.30, 72.86)
CIE-LCHlch(95.46, 75.64, 105.57°)
OKLaboklab(95.39% -0.0622 0.1646)
OKLCHoklch(95.39% 0.176 110.7)
XYZxyz(74.0822, 88.7213, 23.1180)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6FA5B #5F5BFA
analogous
#FAAE5B #F6FA5B #A7FA5B
triadic
#F6FA5B #5BF6FA #FA5BF6
tetradic
#F6FA5B #5BFAAE #5F5BFA #FA5BA7
square
#F6FA5B #5BFAAE #5F5BFA #FA5BA7
split-complementary
#F6FA5B #5BA7FA #AE5BFA
monochromatic
#CFD406 #F3F820 #F6FA5B #F9FC96 #FDFED2

Accessibility & contrast

On white

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

On black

18.74
#F6FA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6FA5B
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6FA5B#FFFFFF#000000##000000
##F6FA5B1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF046
Deuteranopia (green-blind)
#FFF466
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f6fa5b;
/* rgb */ color: rgb(246, 250, 91);
/* oklch */ color: oklch(95.4% 0.176 110.7);
Tailwind
colors: {
  custom: {
    50: '#fcfb91',
    500: '#f6fa5b',
    950: '#000000',
  },
}
SCSS
$custom: #f6fa5b;
$custom-light: #fcfb91;
$custom-dark: #000000;
JSON
{
  "hex": "#f6fa5b",
  "rgb": {
    "r": 246,
    "g": 250,
    "b": 91
  },
  "hsl": {
    "h": 61.509,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.9539,
    "c": 0.17598,
    "h": 110.7
  },
  "luminance": 0.88719
}

Semantic roles & 50–950 ramp

primary
#F6FA5B
secondary
#2F2BCF
accent
#00E606
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F6FA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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