#F2F77A#F2F77A

#F2F77A is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.8% C 0.148 H 111.0°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#F2F77A
RGBrgb(242, 247, 122)
HSLhsl(62, 89%, 72%)
HSVhsv(62, 51%, 97%)
CMYKcmyk(2%, 0%, 50.6%, 3.1%)
CIE-LABlab(94.66, -18.25, 58.79)
CIE-LCHlch(94.66, 61.56, 107.24°)
OKLaboklab(94.76% -0.053 0.1384)
OKLCHoklch(94.76% 0.148 111)
XYZxyz(73.3931, 86.8055, 31.2975)
Luminance0.8680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F77A #7F7AF7
analogous
#F7BE7A #F2F77A #B4F77A
triadic
#F2F77A #7AF2F7 #F77AF2
tetradic
#F2F77A #7AF7BE #7F7AF7 #F77AB4
square
#F2F77A #7AF7BE #7F7AF7 #F77AB4
split-complementary
#F2F77A #7AB4F7 #BE7AF7
monochromatic
#E0E90E #ECF440 #F2F77A #F8FAB4 #FCFDE2

Accessibility & contrast

On white

1.14
#F2F77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#F2F77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F77A
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F77A#FFFFFF#000000##000000
##F2F77A1.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FFF181
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f77a;
/* rgb */ color: rgb(242, 247, 122);
/* oklch */ color: oklch(94.8% 0.148 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9a3',
    500: '#f2f77a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f77a;
$custom-light: #f8f9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f77a",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 62.4,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94759,
    "c": 0.14818,
    "h": 111
  },
  "luminance": 0.86804
}

Semantic roles & 50–950 ramp

primary
#F2F77A
secondary
#4842D3
accent
#00E509
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F77A

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

Preview Lab → · Contrast checker → · Palette generator →

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