#F0FC5F#F0FC5F

#F0FC5F is a very light, vivid yellow. Relative luminance 0.890; OKLCH L 95.4% C 0.177 H 113.4°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#F0FC5F
RGBrgb(240, 252, 95)
HSLhsl(65, 96%, 68%)
HSVhsv(65, 62%, 99%)
CMYKcmyk(4.8%, 0%, 62.3%, 1.2%)
CIE-LABlab(95.57, -23.40, 71.28)
CIE-LCHlch(95.57, 75.02, 108.18°)
OKLaboklab(95.37% -0.0702 0.162)
OKLCHoklch(95.37% 0.177 113.4)
XYZxyz(72.8130, 88.9737, 24.1622)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0FC5F #6B5FFC
analogous
#FCB95F #F0FC5F #A1FC5F
triadic
#F0FC5F #5FF0FC #FC5FF0
tetradic
#F0FC5F #5FFCB9 #6B5FFC #FC5FA1
square
#F0FC5F #5FFCB9 #6B5FFC #FC5FA1
split-complementary
#F0FC5F #5FA1FC #B95FFC
monochromatic
#CCDC04 #EAFB23 #F0FC5F #F6FD9B #FBFED7

Accessibility & contrast

On white

1.12
#F0FC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.79
#F0FC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0FC5F
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0FC5F#FFFFFF#000000##000000
##F0FC5F1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14B
Deuteranopia (green-blind)
#FFF469
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f0fc5f;
/* rgb */ color: rgb(240, 252, 95);
/* oklch */ color: oklch(95.4% 0.177 113.4);
Tailwind
colors: {
  custom: {
    50: '#f8fd93',
    500: '#f0fc5f',
    950: '#000000',
  },
}
SCSS
$custom: #f0fc5f;
$custom-light: #f8fd93;
$custom-dark: #000000;
JSON
{
  "hex": "#f0fc5f",
  "rgb": {
    "r": 240,
    "g": 252,
    "b": 95
  },
  "hsl": {
    "h": 64.586,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95374,
    "c": 0.17653,
    "h": 113.4
  },
  "luminance": 0.88972
}

Semantic roles & 50–950 ramp

primary
#F0FC5F
secondary
#372AD5
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F0FC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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