#F0F576#F0F576

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

Color values

HEX#F0F576
RGBrgb(240, 245, 118)
HSLhsl(62, 86%, 71%)
HSVhsv(62, 52%, 96%)
CMYKcmyk(2%, 0%, 51.8%, 3.9%)
CIE-LABlab(93.94, -18.40, 59.73)
CIE-LCHlch(93.94, 62.50, 107.12°)
OKLaboklab(94.14% -0.0537 0.14)
OKLCHoklch(94.14% 0.15 111)
XYZxyz(71.8592, 85.1396, 29.7842)
Luminance0.8514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F576 #7B76F5
analogous
#F5BA76 #F0F576 #B0F576
triadic
#F0F576 #76F0F5 #F576F0
tetradic
#F0F576 #76F5BA #7B76F5 #F576B0
square
#F0F576 #76F5BA #7B76F5 #F576B0
split-complementary
#F0F576 #76B0F5 #BA76F5
monochromatic
#D8E010 #EAF13D #F0F576 #F6F9AF #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F0F576#FFFFFF#000000##000000
##F0F5761.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)
#FFEC6A
Deuteranopia (green-blind)
#FFEF7D
Tritanopia (blue-blind)
#FEE8D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f576;
/* rgb */ color: rgb(240, 245, 118);
/* oklch */ color: oklch(94.1% 0.150 111.0);
Tailwind
colors: {
  custom: {
    50: '#f7f8a1',
    500: '#f0f576',
    950: '#000000',
  },
}
SCSS
$custom: #f0f576;
$custom-light: #f7f8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f576",
  "rgb": {
    "r": 240,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 62.362,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9414,
    "c": 0.15,
    "h": 111
  },
  "luminance": 0.85138
}

Semantic roles & 50–950 ramp

primary
#F0F576
secondary
#453FD0
accent
#03E30B
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #F0F576

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

Preview Lab → · Contrast checker → · Palette generator →

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