#F2FC4B#F2FC4B

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

Color values

HEX#F2FC4B
RGBrgb(242, 252, 75)
HSLhsl(63, 97%, 64%)
HSVhsv(63, 70%, 99%)
CMYKcmyk(4%, 0%, 70.2%, 1.2%)
CIE-LABlab(95.58, -23.70, 78.69)
CIE-LCHlch(95.58, 82.18, 106.76°)
OKLaboklab(95.38% -0.073 0.1745)
OKLCHoklch(95.38% 0.189 112.7)
XYZxyz(72.7006, 89.0077, 20.0057)
Luminance0.8901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC4B #554BFC
analogous
#FCAE4B #F2FC4B #9AFC4B
triadic
#F2FC4B #4BF2FC #FC4BF2
tetradic
#F2FC4B #4BFCAE #554BFC #FC4B9A
square
#F2FC4B #4BFCAE #554BFC #FC4B9A
split-complementary
#F2FC4B #4B9AFC #AE4BFC
monochromatic
#BEC903 #EEFB0F #F2FC4B #F6FD87 #FBFEC3

Accessibility & contrast

On white

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

On black

18.80
#F2FC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC4B
18.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC4B#FFFFFF#000000##000000
##F2FC4B1.001.1218.8018.80
#FFFFFF1.121.0021.0021.00
#00000018.8021.001.001.00
##00000018.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF02B
Deuteranopia (green-blind)
#FFF459
Tritanopia (blue-blind)
#FFEDDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fc4b;
/* rgb */ color: rgb(242, 252, 75);
/* oklch */ color: oklch(95.4% 0.189 112.7);
Tailwind
colors: {
  custom: {
    50: '#fafd88',
    500: '#f2fc4b',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc4b;
$custom-light: #fafd88;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc4b",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 75
  },
  "hsl": {
    "h": 63.39,
    "s": 96.721,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95379,
    "c": 0.18917,
    "h": 112.7
  },
  "luminance": 0.89006
}

Semantic roles & 50–950 ramp

primary
#F2FC4B
secondary
#2F26C5
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2FC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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