#F0F758#F0F758

#F0F758 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.3% C 0.176 H 111.8°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F0F758
RGBrgb(240, 247, 88)
HSLhsl(63, 91%, 66%)
HSVhsv(63, 64%, 97%)
CMYKcmyk(2.8%, 0%, 64.4%, 3.1%)
CIE-LABlab(94.21, -21.44, 72.57)
CIE-LCHlch(94.21, 75.67, 106.46°)
OKLaboklab(94.27% -0.0654 0.1637)
OKLCHoklch(94.27% 0.176 111.8)
XYZxyz(70.9595, 85.7530, 22.0446)
Luminance0.8575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F758 #5F58F7
analogous
#F7AF58 #F0F758 #A0F758
triadic
#F0F758 #58F0F7 #F758F0
tetradic
#F0F758 #58F7AF #5F58F7 #F758A0
square
#F0F758 #58F7AF #5F58F7 #F758A0
split-complementary
#F0F758 #58A0F7 #AF58F7
monochromatic
#C2CB0A #EBF41E #F0F758 #F5FA92 #FAFDCD

Accessibility & contrast

On white

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

On black

18.15
#F0F758 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F758
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F758#FFFFFF#000000##000000
##F0F7581.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC42
Deuteranopia (green-blind)
#FFF063
Tritanopia (blue-blind)
#FFE9D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f0f758;
/* rgb */ color: rgb(240, 247, 88);
/* oklch */ color: oklch(94.3% 0.176 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8f98f',
    500: '#f0f758',
    950: '#000000',
  },
}
SCSS
$custom: #f0f758;
$custom-light: #f8f98f;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f758",
  "rgb": {
    "r": 240,
    "g": 247,
    "b": 88
  },
  "hsl": {
    "h": 62.642,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94267,
    "c": 0.17629,
    "h": 111.8
  },
  "luminance": 0.85751
}

Semantic roles & 50–950 ramp

primary
#F0F758
secondary
#332CC7
accent
#00E60A
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F0F758

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

Preview Lab → · Contrast checker → · Palette generator →

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