#F0FB7B#F0FB7B

#F0FB7B is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.4% C 0.152 H 113.3°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F0FB7B
RGBrgb(240, 251, 123)
HSLhsl(65, 94%, 73%)
HSVhsv(65, 51%, 98%)
CMYKcmyk(4.4%, 0%, 51%, 1.6%)
CIE-LABlab(95.56, -20.87, 59.37)
CIE-LCHlch(95.56, 62.93, 109.37°)
OKLaboklab(95.45% -0.0603 0.1397)
OKLCHoklch(95.45% 0.152 113.3)
XYZxyz(74.0089, 88.9509, 32.0056)
Luminance0.8895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FB7B #867BFB
analogous
#FBC67B #F0FB7B #B0FB7B
triadic
#F0FB7B #7BF0FB #FB7BF0
tetradic
#F0FB7B #7BFBC6 #867BFB #FB7BB0
square
#F0FB7B #7BFBC6 #867BFB #FB7BB0
split-complementary
#F0FB7B #7BB0FB #C67BFB
monochromatic
#E0F407 #E9F940 #F0FB7B #F7FDB6 #FCFEE1

Accessibility & contrast

On white

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

On black

18.79
#F0FB7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FB7B
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FB7B#FFFFFF#000000##000000
##F0FB7B1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16F
Deuteranopia (green-blind)
#FFF482
Tritanopia (blue-blind)
#FDEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fb7b;
/* rgb */ color: rgb(240, 251, 123);
/* oklch */ color: oklch(95.4% 0.152 113.3);
Tailwind
colors: {
  custom: {
    50: '#f7fca4',
    500: '#f0fb7b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fb7b;
$custom-light: #f7fca4;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fb7b",
  "rgb": {
    "r": 240,
    "g": 251,
    "b": 123
  },
  "hsl": {
    "h": 65.156,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95448,
    "c": 0.15217,
    "h": 113.3
  },
  "luminance": 0.8895
}

Semantic roles & 50–950 ramp

primary
#F0FB7B
secondary
#4F42D8
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0FB7B

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

Preview Lab → · Contrast checker → · Palette generator →

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