#F2F773#F2F773

#F2F773 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.155 H 111.0°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F2F773
RGBrgb(242, 247, 115)
HSLhsl(62, 89%, 71%)
HSVhsv(62, 53%, 97%)
CMYKcmyk(2%, 0%, 53.4%, 3.1%)
CIE-LABlab(94.58, -18.82, 61.84)
CIE-LCHlch(94.58, 64.64, 106.92°)
OKLaboklab(94.68% -0.0553 0.1443)
OKLCHoklch(94.68% 0.155 111)
XYZxyz(72.9749, 86.6382, 29.0950)
Luminance0.8664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F773 #7873F7
analogous
#F7BA73 #F2F773 #B0F773
triadic
#F2F773 #73F2F7 #F773F2
tetradic
#F2F773 #73F7BA #7873F7 #F773B0
square
#F2F773 #73F7BA #7873F7 #F773B0
split-complementary
#F2F773 #73B0F7 #BA73F7
monochromatic
#DBE30D #EDF439 #F2F773 #F7FAAD #FCFDE2

Accessibility & contrast

On white

1.15
#F2F773 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.33
#F2F773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F773
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F773#FFFFFF#000000##000000
##F2F7731.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f773;
/* rgb */ color: rgb(242, 247, 115);
/* oklch */ color: oklch(94.7% 0.155 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f99f',
    500: '#f2f773',
    950: '#000000',
  },
}
SCSS
$custom: #f2f773;
$custom-light: #f9f99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f773",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 115
  },
  "hsl": {
    "h": 62.273,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94679,
    "c": 0.15452,
    "h": 111
  },
  "luminance": 0.86637
}

Semantic roles & 50–950 ramp

primary
#F2F773
secondary
#423CD2
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F773

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

Preview Lab → · Contrast checker → · Palette generator →

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