#F2F76C#F2F76C

#F2F76C is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.6% C 0.161 H 111.0°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F2F76C
RGBrgb(242, 247, 108)
HSLhsl(62, 90%, 70%)
HSVhsv(62, 56%, 97%)
CMYKcmyk(2%, 0%, 56.3%, 3.1%)
CIE-LABlab(94.52, -19.34, 64.82)
CIE-LCHlch(94.52, 67.64, 106.62°)
OKLaboklab(94.6% -0.0576 0.1499)
OKLCHoklch(94.6% 0.161 111)
XYZxyz(72.5873, 86.4831, 27.0536)
Luminance0.8648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F76C #716CF7
analogous
#F7B66C #F2F76C #ADF76C
triadic
#F2F76C #6CF2F7 #F76CF2
tetradic
#F2F76C #6CF7B6 #716CF7 #F76CAD
square
#F2F76C #6CF7B6 #716CF7 #F76CAD
split-complementary
#F2F76C #6CADF7 #B66CF7
monochromatic
#D5DD0C #EDF432 #F2F76C #F7FAA6 #FCFDE0

Accessibility & contrast

On white

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

On black

18.30
#F2F76C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F76C
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F76C#FFFFFF#000000##000000
##F2F76C1.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f76c;
/* rgb */ color: rgb(242, 247, 108);
/* oklch */ color: oklch(94.6% 0.161 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f99b',
    500: '#f2f76c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f76c;
$custom-light: #f9f99b;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f76c",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 108
  },
  "hsl": {
    "h": 62.158,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94605,
    "c": 0.16054,
    "h": 111
  },
  "luminance": 0.86481
}

Semantic roles & 50–950 ramp

primary
#F2F76C
secondary
#3C36D1
accent
#00E608
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F76C

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

Preview Lab → · Contrast checker → · Palette generator →

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