#F0F577#F0F577

#F0F577 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.2% C 0.149 H 111.0°. Best body text is #000000 at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#F0F577
RGBrgb(240, 245, 119)
HSLhsl(62, 86%, 71%)
HSVhsv(62, 51%, 96%)
CMYKcmyk(2%, 0%, 51.4%, 3.9%)
CIE-LABlab(93.95, -18.32, 59.29)
CIE-LCHlch(93.95, 62.05, 107.17°)
OKLaboklab(94.15% -0.0534 0.1392)
OKLCHoklch(94.15% 0.149 111)
XYZxyz(71.9189, 85.1635, 30.0988)
Luminance0.8516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F577 #7C77F5
analogous
#F5BB77 #F0F577 #B1F577
triadic
#F0F577 #77F0F5 #F577F0
tetradic
#F0F577 #77F5BB #7C77F5 #F577B1
square
#F0F577 #77F5BB #7C77F5 #F577B1
split-complementary
#F0F577 #77B1F5 #BB77F5
monochromatic
#D9E111 #EAF13E #F0F577 #F6F9B0 #FCFDE2

Accessibility & contrast

On white

1.16
#F0F577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.03
#F0F577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F577
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F577#FFFFFF#000000##000000
##F0F5771.001.1618.0318.03
#FFFFFF1.161.0021.0021.00
#00000018.0321.001.001.00
##00000018.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#FEE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f577;
/* rgb */ color: rgb(240, 245, 119);
/* oklch */ color: oklch(94.2% 0.149 111.0);
Tailwind
colors: {
  custom: {
    50: '#f7f8a1',
    500: '#f0f577',
    950: '#000000',
  },
}
SCSS
$custom: #f0f577;
$custom-light: #f7f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f577",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 62.381,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94152,
    "c": 0.14909,
    "h": 111
  },
  "luminance": 0.85162
}

Semantic roles & 50–950 ramp

primary
#F0F577
secondary
#4640D0
accent
#03E30C
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F577

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

Preview Lab → · Contrast checker → · Palette generator →

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