#F2FB58#F2FB58

#F2FB58 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.180 H 112.4°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F2FB58
RGBrgb(242, 251, 88)
HSLhsl(63, 95%, 66%)
HSVhsv(63, 65%, 98%)
CMYKcmyk(3.6%, 0%, 64.9%, 1.6%)
CIE-LABlab(95.40, -22.55, 73.85)
CIE-LCHlch(95.40, 77.22, 106.98°)
OKLaboklab(95.26% -0.0686 0.1664)
OKLCHoklch(95.26% 0.18 112.4)
XYZxyz(72.8787, 88.5778, 22.4888)
Luminance0.8858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB58 #6158FB
analogous
#FBB358 #F2FB58 #A1FB58
triadic
#F2FB58 #58F2FB #FB58F2
tetradic
#F2FB58 #58FBB3 #6158FB #FB58A1
square
#F2FB58 #58FBB3 #6158FB #FB58A1
split-complementary
#F2FB58 #58A1FB #B358FB
monochromatic
#C8D405 #EDFA1C #F2FB58 #F7FC94 #FBFED0

Accessibility & contrast

On white

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

On black

18.72
#F2FB58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB58
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB58#FFFFFF#000000##000000
##F2FB581.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF041
Deuteranopia (green-blind)
#FFF463
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb58;
/* rgb */ color: rgb(242, 251, 88);
/* oklch */ color: oklch(95.3% 0.180 112.4);
Tailwind
colors: {
  custom: {
    50: '#fafc8f',
    500: '#f2fb58',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb58;
$custom-light: #fafc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb58",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 88
  },
  "hsl": {
    "h": 63.313,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.95262,
    "c": 0.17995,
    "h": 112.4
  },
  "luminance": 0.88576
}

Semantic roles & 50–950 ramp

primary
#F2FB58
secondary
#3229CE
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FB58

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

Preview Lab → · Contrast checker → · Palette generator →

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