#F8FB7B#F8FB7B

#F8FB7B is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.151 H 110.1°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#F8FB7B
RGBrgb(248, 251, 123)
HSLhsl(61, 94%, 73%)
HSVhsv(61, 51%, 98%)
CMYKcmyk(1.2%, 0%, 51%, 1.6%)
CIE-LABlab(96.16, -17.75, 60.21)
CIE-LCHlch(96.16, 62.77, 106.43°)
OKLaboklab(96.07% -0.0519 0.1414)
OKLCHoklch(96.07% 0.151 110.1)
XYZxyz(76.7855, 90.3826, 32.1357)
Luminance0.9038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FB7B #7E7BFB
analogous
#FBBE7B #F8FB7B #B8FB7B
triadic
#F8FB7B #7BF8FB #FB7BF8
tetradic
#F8FB7B #7BFBBE #7E7BFB #FB7BB8
square
#F8FB7B #7BFBBE #7E7BFB #FB7BB8
split-complementary
#F8FB7B #7BB8FB #BE7BFB
monochromatic
#EFF407 #F5F940 #F8FB7B #FBFDB6 #FDFEE1

Accessibility & contrast

On white

1.10
#F8FB7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#F8FB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FB7B
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FB7B#FFFFFF#000000##000000
##F8FB7B1.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26F
Deuteranopia (green-blind)
#FFF682
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f8fb7b;
/* rgb */ color: rgb(248, 251, 123);
/* oklch */ color: oklch(96.1% 0.151 110.1);
Tailwind
colors: {
  custom: {
    50: '#fdfca4',
    500: '#f8fb7b',
    950: '#000000',
  },
}
SCSS
$custom: #f8fb7b;
$custom-light: #fdfca4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fb7b",
  "rgb": {
    "r": 248,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 61.406,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96069,
    "c": 0.15065,
    "h": 110.1
  },
  "luminance": 0.90381
}

Semantic roles & 50–950 ramp

primary
#F8FB7B
secondary
#4642D8
accent
#00E605
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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