#F2F661#F2F661

#F2F661 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.3% C 0.168 H 110.7°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#F2F661
RGBrgb(242, 246, 97)
HSLhsl(62, 89%, 67%)
HSVhsv(62, 61%, 96%)
CMYKcmyk(1.6%, 0%, 60.6%, 3.5%)
CIE-LABlab(94.16, -19.61, 69.02)
CIE-LCHlch(94.16, 71.76, 105.86°)
OKLaboklab(94.29% -0.0594 0.1574)
OKLCHoklch(94.29% 0.168 110.7)
XYZxyz(71.7334, 85.6536, 24.0610)
Luminance0.8565 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F661 #6561F6
analogous
#F6B061 #F2F661 #A7F661
triadic
#F2F661 #61F2F6 #F661F2
tetradic
#F2F661 #61F6B0 #6561F6 #F661A7
square
#F2F661 #61F6B0 #6561F6 #F661A7
split-complementary
#F2F661 #61A7F6 #B061F6
monochromatic
#CBD10C #EDF327 #F2F661 #F7F99B #FCFDD5

Accessibility & contrast

On white

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

On black

18.13
#F2F661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F661
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F661#FFFFFF#000000##000000
##F2F6611.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC4F
Deuteranopia (green-blind)
#FFF06A
Tritanopia (blue-blind)
#FFE8D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f661;
/* rgb */ color: rgb(242, 246, 97);
/* oklch */ color: oklch(94.3% 0.168 110.7);
Tailwind
colors: {
  custom: {
    50: '#f9f994',
    500: '#f2f661',
    950: '#000000',
  },
}
SCSS
$custom: #f2f661;
$custom-light: #f9f994;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f661",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 97
  },
  "hsl": {
    "h": 61.611,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.94292,
    "c": 0.16829,
    "h": 110.7
  },
  "luminance": 0.85652
}

Semantic roles & 50–950 ramp

primary
#F2F661
secondary
#332FCC
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F661

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

Preview Lab → · Contrast checker → · Palette generator →

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