#F0FA6B#F0FA6B

#F0FA6B is a very light, vivid yellow. Relative luminance 0.880; OKLCH L 95.1% C 0.165 H 112.8°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#F0FA6B
RGBrgb(240, 250, 107)
HSLhsl(64, 93%, 70%)
HSVhsv(64, 57%, 98%)
CMYKcmyk(4%, 0%, 57.2%, 2%)
CIE-LABlab(95.14, -21.64, 65.90)
CIE-LCHlch(95.14, 69.36, 108.18°)
OKLaboklab(95.07% -0.064 0.1521)
OKLCHoklch(95.07% 0.165 112.8)
XYZxyz(72.7763, 87.9594, 27.0512)
Luminance0.8796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA6B #756BFA
analogous
#FABD6B #F0FA6B #A8FA6B
triadic
#F0FA6B #6BF0FA #FA6BF0
tetradic
#F0FA6B #6BFABD #756BFA #FA6BA8
square
#F0FA6B #6BFABD #756BFA #FA6BA8
split-complementary
#F0FA6B #6BA8FA #BD6BFA
monochromatic
#D4E308 #EAF830 #F0FA6B #F6FCA6 #FCFEE1

Accessibility & contrast

On white

1.13
#F0FA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.59
#F0FA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA6B
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA6B#FFFFFF#000000##000000
##F0FA6B1.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF5B
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FEEDDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa6b;
/* rgb */ color: rgb(240, 250, 107);
/* oklch */ color: oklch(95.1% 0.165 112.8);
Tailwind
colors: {
  custom: {
    50: '#f8fb9a',
    500: '#f0fa6b',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa6b;
$custom-light: #f8fb9a;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa6b",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 107
  },
  "hsl": {
    "h": 64.196,
    "s": 93.464,
    "l": 70
  },
  "oklch": {
    "l": 0.95065,
    "c": 0.16503,
    "h": 112.8
  },
  "luminance": 0.87958
}

Semantic roles & 50–950 ramp

primary
#F0FA6B
secondary
#4035D5
accent
#00E610
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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