#F2F776#F2F776

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

Color values

HEX#F2F776
RGBrgb(242, 247, 118)
HSLhsl(62, 89%, 72%)
HSVhsv(62, 52%, 97%)
CMYKcmyk(2%, 0%, 52.2%, 3.1%)
CIE-LABlab(94.61, -18.58, 60.55)
CIE-LCHlch(94.61, 63.33, 107.06°)
OKLaboklab(94.71% -0.0544 0.1418)
OKLCHoklch(94.71% 0.152 111)
XYZxyz(73.1504, 86.7084, 30.0190)
Luminance0.8671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F776 #7B76F7
analogous
#F7BC76 #F2F776 #B2F776
triadic
#F2F776 #76F2F7 #F776F2
tetradic
#F2F776 #76F7BC #7B76F7 #F776B2
square
#F2F776 #76F7BC #7B76F7 #F776B2
split-complementary
#F2F776 #76B2F7 #BC76F7
monochromatic
#DDE50D #EDF43C #F2F776 #F7FAB0 #FCFDE2

Accessibility & contrast

On white

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

On black

18.34
#F2F776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F776
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F776#FFFFFF#000000##000000
##F2F7761.001.1418.3418.34
#FFFFFF1.141.0021.0021.00
#00000018.3421.001.001.00
##00000018.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f776;
/* rgb */ color: rgb(242, 247, 118);
/* oklch */ color: oklch(94.7% 0.152 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f9a1',
    500: '#f2f776',
    950: '#000000',
  },
}
SCSS
$custom: #f2f776;
$custom-light: #f9f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f776",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 62.326,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94713,
    "c": 0.15185,
    "h": 111
  },
  "luminance": 0.86707
}

Semantic roles & 50–950 ramp

primary
#F2F776
secondary
#453FD2
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F776

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

Preview Lab → · Contrast checker → · Palette generator →

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