#F2F77C#F2F77C

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

Color values

HEX#F2F77C
RGBrgb(242, 247, 124)
HSLhsl(62, 88%, 73%)
HSVhsv(62, 50%, 97%)
CMYKcmyk(2%, 0%, 49.8%, 3.1%)
CIE-LABlab(94.68, -18.08, 57.91)
CIE-LCHlch(94.68, 60.67, 107.34°)
OKLaboklab(94.78% -0.0524 0.1366)
OKLCHoklch(94.78% 0.146 111)
XYZxyz(73.5183, 86.8555, 31.9569)
Luminance0.8685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F77C #817CF7
analogous
#F7BE7C #F2F77C #B4F77C
triadic
#F2F77C #7CF2F7 #F77CF2
tetradic
#F2F77C #7CF7BE #817CF7 #F77CB4
square
#F2F77C #7CF7BE #817CF7 #F77CB4
split-complementary
#F2F77C #7CB4F7 #BE7CF7
monochromatic
#E1EA0E #ECF342 #F2F77C #F8FBB6 #FCFDE2

Accessibility & contrast

On white

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

On black

18.37
#F2F77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F77C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F77C#FFFFFF#000000##000000
##F2F77C1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f77c;
/* rgb */ color: rgb(242, 247, 124);
/* oklch */ color: oklch(94.8% 0.146 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9a5',
    500: '#f2f77c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f77c;
$custom-light: #f8f9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f77c",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 62.439,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94783,
    "c": 0.14632,
    "h": 111
  },
  "luminance": 0.86854
}

Semantic roles & 50–950 ramp

primary
#F2F77C
secondary
#4A44D3
accent
#00E50A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F77C

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

Preview Lab → · Contrast checker → · Palette generator →

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