#F2FF7B#F2FF7B

#F2FF7B is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.4% C 0.156 H 114.0°. Best body text is #000000 at 19.37:1 contrast (WCAG AA passes).

Color values

HEX#F2FF7B
RGBrgb(242, 255, 123)
HSLhsl(66, 100%, 74%)
HSVhsv(66, 52%, 100%)
CMYKcmyk(5.1%, 0%, 51.8%, 0%)
CIE-LABlab(96.75, -22.00, 60.79)
CIE-LCHlch(96.75, 64.65, 109.90°)
OKLaboklab(96.44% -0.0636 0.1428)
OKLCHoklch(96.44% 0.156 114)
XYZxyz(75.9545, 91.8285, 32.4585)
Luminance0.9183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF7B #887BFF
analogous
#FFCA7B #F2FF7B #B0FF7B
triadic
#F2FF7B #7BF2FF #FF7BF2
tetradic
#F2FF7B #7BFFCA #887BFF #FF7BB0
square
#F2FF7B #7BFFCA #887BFF #FF7BB0
split-complementary
#F2FF7B #7BB0FF #CA7BFF
monochromatic
#E6FF01 #ECFF3E #F2FF7B #F8FFB8 #FCFFE0

Accessibility & contrast

On white

1.08
#F2FF7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.37
#F2FF7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF7B
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF7B#FFFFFF#000000##000000
##F2FF7B1.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46E
Deuteranopia (green-blind)
#FFF782
Tritanopia (blue-blind)
#FFF2E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff7b;
/* rgb */ color: rgb(242, 255, 123);
/* oklch */ color: oklch(96.4% 0.156 114.0);
Tailwind
colors: {
  custom: {
    50: '#f9ffa4',
    500: '#f2ff7b',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff7b;
$custom-light: #f9ffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff7b",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 123
  },
  "hsl": {
    "h": 65.909,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96435,
    "c": 0.15632,
    "h": 114
  },
  "luminance": 0.91827
}

Semantic roles & 50–950 ramp

primary
#F2FF7B
secondary
#5041DD
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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