#F2FB5F#F2FB5F

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

Color values

HEX#F2FB5F
RGBrgb(242, 251, 95)
HSLhsl(63, 95%, 68%)
HSVhsv(63, 62%, 98%)
CMYKcmyk(3.6%, 0%, 62.2%, 1.6%)
CIE-LABlab(95.45, -22.13, 71.20)
CIE-LCHlch(95.45, 74.56, 107.27°)
OKLaboklab(95.32% -0.0667 0.1618)
OKLCHoklch(95.32% 0.175 112.4)
XYZxyz(73.1827, 88.6994, 24.0898)
Luminance0.8870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB5F #685FFB
analogous
#FBB65F #F2FB5F #A4FB5F
triadic
#F2FB5F #5FF2FB #FB5FF2
tetradic
#F2FB5F #5FFBB6 #685FFB #FB5FA4
square
#F2FB5F #5FFBB6 #685FFB #FB5FA4
split-complementary
#F2FB5F #5FA4FB #B65FFB
monochromatic
#CEDA05 #EDFA23 #F2FB5F #F7FC9B #FCFED6

Accessibility & contrast

On white

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

On black

18.74
#F2FB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB5F
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB5F#FFFFFF#000000##000000
##F2FB5F1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fb5f;
/* rgb */ color: rgb(242, 251, 95);
/* oklch */ color: oklch(95.3% 0.175 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fc93',
    500: '#f2fb5f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb5f;
$custom-light: #f9fc93;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb5f",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 95
  },
  "hsl": {
    "h": 63.462,
    "s": 95.122,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95319,
    "c": 0.17499,
    "h": 112.4
  },
  "luminance": 0.88698
}

Semantic roles & 50–950 ramp

primary
#F2FB5F
secondary
#342AD4
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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