#F2FA7D#F2FA7D

#F2FA7D is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.4% C 0.149 H 112.2°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F2FA7D
RGBrgb(242, 250, 125)
HSLhsl(64, 93%, 74%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.2%, 0%, 50%, 2%)
CIE-LABlab(95.47, -19.44, 58.39)
CIE-LCHlch(95.47, 61.54, 108.42°)
OKLaboklab(95.42% -0.0561 0.1378)
OKLCHoklch(95.42% 0.149 112.2)
XYZxyz(74.5067, 88.7305, 32.5999)
Luminance0.8873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7D #857DFA
analogous
#FAC37D #F2FA7D #B3FA7D
triadic
#F2FA7D #7DF2FA #FA7DF2
tetradic
#F2FA7D #7DFAC3 #857DFA #FA7DB3
square
#F2FA7D #7DFAC3 #857DFA #FA7DB3
split-complementary
#F2FA7D #7DB3FA #C37DFA
monochromatic
#E4F309 #ECF842 #F2FA7D #F8FCB8 #FCFEE2

Accessibility & contrast

On white

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

On black

18.75
#F2FA7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7D
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7D#FFFFFF#000000##000000
##F2FA7D1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF071
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FFEDDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa7d;
/* rgb */ color: rgb(242, 250, 125);
/* oklch */ color: oklch(95.4% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba6',
    500: '#f2fa7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7d;
$custom-light: #f8fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7d",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 125
  },
  "hsl": {
    "h": 63.84,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95417,
    "c": 0.14875,
    "h": 112.2
  },
  "luminance": 0.88729
}

Semantic roles & 50–950 ramp

primary
#F2FA7D
secondary
#4E44D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FA7D

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

Preview Lab → · Contrast checker → · Palette generator →

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