#F2F66A#F2F66A

#F2F66A is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.4% C 0.161 H 110.6°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F2F66A
RGBrgb(242, 246, 106)
HSLhsl(62, 89%, 69%)
HSVhsv(62, 57%, 96%)
CMYKcmyk(1.6%, 0%, 56.9%, 3.5%)
CIE-LABlab(94.24, -19.01, 65.36)
CIE-LCHlch(94.24, 68.07, 106.21°)
OKLaboklab(94.38% -0.0568 0.1508)
OKLCHoklch(94.38% 0.161 110.6)
XYZxyz(72.1771, 85.8311, 26.3978)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F66A #6E6AF6
analogous
#F6B46A #F2F66A #ACF66A
triadic
#F2F66A #6AF2F6 #F66AF2
tetradic
#F2F66A #6AF6B4 #6E6AF6 #F66AAC
square
#F2F66A #6AF6B4 #6E6AF6 #F66AAC
split-complementary
#F2F66A #6AACF6 #B46AF6
monochromatic
#D3D90D #EDF330 #F2F66A #F7F9A4 #FCFDDD

Accessibility & contrast

On white

1.16
#F2F66A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F2F66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F66A
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F66A#FFFFFF#000000##000000
##F2F66A1.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5B
Deuteranopia (green-blind)
#FFF072
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f66a;
/* rgb */ color: rgb(242, 246, 106);
/* oklch */ color: oklch(94.4% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f999',
    500: '#f2f66a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f66a;
$custom-light: #f9f999;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f66a",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 106
  },
  "hsl": {
    "h": 61.714,
    "s": 88.608,
    "l": 69.02
  },
  "oklch": {
    "l": 0.94377,
    "c": 0.16114,
    "h": 110.6
  },
  "luminance": 0.85829
}

Semantic roles & 50–950 ramp

primary
#F2F66A
secondary
#3935D0
accent
#00E507
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F66A

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

Preview Lab → · Contrast checker → · Palette generator →

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