#F0FA77#F0FA77

#F0FA77 is a very light, vivid yellow. Relative luminance 0.882; OKLCH L 95.2% C 0.155 H 112.9°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F0FA77
RGBrgb(240, 250, 119)
HSLhsl(65, 93%, 72%)
HSVhsv(65, 52%, 98%)
CMYKcmyk(4%, 0%, 52.4%, 2%)
CIE-LABlab(95.26, -20.72, 60.81)
CIE-LCHlch(95.26, 64.24, 108.82°)
OKLaboklab(95.19% -0.0602 0.1425)
OKLCHoklch(95.19% 0.155 112.9)
XYZxyz(73.4520, 88.2297, 30.6099)
Luminance0.8823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FA77 #8177FA
analogous
#FAC277 #F0FA77 #AFFA77
triadic
#F0FA77 #77F0FA #FA77F0
tetradic
#F0FA77 #77FAC2 #8177FA #FA77AF
square
#F0FA77 #77FAC2 #8177FA #FA77AF
split-complementary
#F0FA77 #77AFFA #C277FA
monochromatic
#DCEE09 #E9F83C #F0FA77 #F7FCB2 #FCFEE1

Accessibility & contrast

On white

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

On black

18.65
#F0FA77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FA77
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FA77#FFFFFF#000000##000000
##F0FA771.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06A
Deuteranopia (green-blind)
#FFF37E
Tritanopia (blue-blind)
#FEEDDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f0fa77;
/* rgb */ color: rgb(240, 250, 119);
/* oklch */ color: oklch(95.2% 0.155 112.9);
Tailwind
colors: {
  custom: {
    50: '#f7fba2',
    500: '#f0fa77',
    950: '#000000',
  },
}
SCSS
$custom: #f0fa77;
$custom-light: #f7fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fa77",
  "rgb": {
    "r": 240,
    "g": 250,
    "b": 119
  },
  "hsl": {
    "h": 64.58,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95193,
    "c": 0.15469,
    "h": 112.9
  },
  "luminance": 0.88228
}

Semantic roles & 50–950 ramp

primary
#F0FA77
secondary
#4A3FD6
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0FA77

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

Preview Lab → · Contrast checker → · Palette generator →

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