#F2FE5C#F2FE5C

#F2FE5C is a very light, vivid yellow. Relative luminance 0.905; OKLCH L 95.9% C 0.180 H 113.4°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#F2FE5C
RGBrgb(242, 254, 92)
HSLhsl(64, 99%, 68%)
HSVhsv(64, 64%, 100%)
CMYKcmyk(4.7%, 0%, 63.8%, 0.4%)
CIE-LABlab(96.22, -23.74, 73.17)
CIE-LCHlch(96.22, 76.93, 107.97°)
OKLaboklab(95.92% -0.0715 0.1655)
OKLCHoklch(95.92% 0.18 113.4)
XYZxyz(73.9935, 90.5350, 23.7003)
Luminance0.9053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE5C #685CFE
analogous
#FEB95C #F2FE5C #A1FE5C
triadic
#F2FE5C #5CF2FE #FE5CF2
tetradic
#F2FE5C #5CFEB9 #685CFE #FE5CA1
square
#F2FE5C #5CFEB9 #685CFE #FE5CA1
split-complementary
#F2FE5C #5CA1FE #B95CFE
monochromatic
#CEDE01 #EDFE1F #F2FE5C #F7FE99 #FCFFD6

Accessibility & contrast

On white

1.10
#F2FE5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#F2FE5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE5C
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE5C#FFFFFF#000000##000000
##F2FE5C1.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF246
Deuteranopia (green-blind)
#FFF667
Tritanopia (blue-blind)
#FFF0DD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fe5c;
/* rgb */ color: rgb(242, 254, 92);
/* oklch */ color: oklch(95.9% 0.180 113.4);
Tailwind
colors: {
  custom: {
    50: '#fafe92',
    500: '#f2fe5c',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe5c;
$custom-light: #fafe92;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe5c",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 92
  },
  "hsl": {
    "h": 64.444,
    "s": 98.78,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95922,
    "c": 0.18031,
    "h": 113.4
  },
  "luminance": 0.90534
}

Semantic roles & 50–950 ramp

primary
#F2FE5C
secondary
#3427D7
accent
#00E611
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2FE5C

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

Preview Lab → · Contrast checker → · Palette generator →

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