#F2F76A#F2F76A

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

Color values

HEX#F2F76A
RGBrgb(242, 247, 106)
HSLhsl(62, 90%, 69%)
HSVhsv(62, 57%, 97%)
CMYKcmyk(2%, 0%, 57.1%, 3.1%)
CIE-LABlab(94.50, -19.49, 65.65)
CIE-LCHlch(94.50, 68.48, 106.53°)
OKLaboklab(94.59% -0.0582 0.1514)
OKLCHoklch(94.59% 0.162 111)
XYZxyz(72.4821, 86.4410, 26.4995)
Luminance0.8644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F76A #6F6AF7
analogous
#F7B66A #F2F76A #ACF76A
triadic
#F2F76A #6AF2F7 #F76AF2
tetradic
#F2F76A #6AF7B6 #6F6AF7 #F76AAC
square
#F2F76A #6AF7B6 #6F6AF7 #F76AAC
split-complementary
#F2F76A #6AACF7 #B66AF7
monochromatic
#D4DB0C #EDF430 #F2F76A #F7FAA4 #FCFDDE

Accessibility & contrast

On white

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

On black

18.29
#F2F76A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F76A
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F76A#FFFFFF#000000##000000
##F2F76A1.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f76a;
/* rgb */ color: rgb(242, 247, 106);
/* oklch */ color: oklch(94.6% 0.162 111.0);
Tailwind
colors: {
  custom: {
    50: '#f9f999',
    500: '#f2f76a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f76a;
$custom-light: #f9f999;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f76a",
  "rgb": {
    "r": 242,
    "g": 247,
    "b": 106
  },
  "hsl": {
    "h": 62.128,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94585,
    "c": 0.16221,
    "h": 111
  },
  "luminance": 0.86439
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F76A

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

Preview Lab → · Contrast checker → · Palette generator →

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