#F2FA4C#F2FA4C

#F2FA4C is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.187 H 112.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F2FA4C
RGBrgb(242, 250, 76)
HSLhsl(63, 95%, 64%)
HSVhsv(63, 70%, 98%)
CMYKcmyk(3.2%, 0%, 69.6%, 2%)
CIE-LABlab(95.06, -22.70, 77.84)
CIE-LCHlch(95.06, 81.08, 106.26°)
OKLaboklab(94.97% -0.0701 0.1729)
OKLCHoklch(94.97% 0.187 112.1)
XYZxyz(72.1103, 87.7720, 19.9792)
Luminance0.8777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA4C #544CFA
analogous
#FAAB4C #F2FA4C #9BFA4C
triadic
#F2FA4C #4CF2FA #FA4CF2
tetradic
#F2FA4C #4CFAAB #544CFA #FA4C9B
square
#F2FA4C #4CFAAB #544CFA #FA4C9B
split-complementary
#F2FA4C #4C9BFA #AB4CFA
monochromatic
#BDC606 #EEF810 #F2FA4C #F6FC88 #FBFDC3

Accessibility & contrast

On white

1.13
#F2FA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F2FA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA4C
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA4C#FFFFFF#000000##000000
##F2FA4C1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF2D
Deuteranopia (green-blind)
#FFF359
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f2fa4c;
/* rgb */ color: rgb(242, 250, 76);
/* oklch */ color: oklch(95.0% 0.187 112.1);
Tailwind
colors: {
  custom: {
    50: '#fafb89',
    500: '#f2fa4c',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa4c;
$custom-light: #fafb89;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa4c",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 76
  },
  "hsl": {
    "h": 62.759,
    "s": 94.565,
    "l": 63.922
  },
  "oklch": {
    "l": 0.94966,
    "c": 0.18658,
    "h": 112.1
  },
  "luminance": 0.8777
}

Semantic roles & 50–950 ramp

primary
#F2FA4C
secondary
#2F28C3
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2FA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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