#F2F77E#F2F77E

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

Color values

HEX#F2F77E
RGBrgb(242, 247, 126)
HSLhsl(62, 88%, 73%)
HSVhsv(62, 49%, 97%)
CMYKcmyk(2%, 0%, 49%, 3.1%)
CIE-LABlab(94.70, -17.91, 57.02)
CIE-LCHlch(94.70, 59.77, 107.44°)
OKLaboklab(94.81% -0.0517 0.1349)
OKLCHoklch(94.81% 0.144 111)
XYZxyz(73.6461, 86.9066, 32.6297)
Luminance0.8690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F77E #837EF7
analogous
#F7BF7E #F2F77E #B5F77E
triadic
#F2F77E #7EF2F7 #F77EF2
tetradic
#F2F77E #7EF7BF #837EF7 #F77EB5
square
#F2F77E #7EF7BF #837EF7 #F77EB5
split-complementary
#F2F77E #7EB5F7 #BF7EF7
monochromatic
#E3EC0F #ECF344 #F2F77E #F8FBB8 #FCFDE2

Accessibility & contrast

On white

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

On black

18.38
#F2F77E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F77E
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F77E#FFFFFF#000000##000000
##F2F77E1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE73
Deuteranopia (green-blind)
#FFF284
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f77e;
/* rgb */ color: rgb(242, 247, 126);
/* oklch */ color: oklch(94.8% 0.144 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9a6',
    500: '#f2f77e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f77e;
$custom-light: #f8f9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f77e",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 126
  },
  "hsl": {
    "h": 62.479,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94807,
    "c": 0.14443,
    "h": 111
  },
  "luminance": 0.86905
}

Semantic roles & 50–950 ramp

primary
#F2F77E
secondary
#4C46D3
accent
#01E50A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2F77E

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

Preview Lab → · Contrast checker → · Palette generator →

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