#F2F46C#F2F46C

#F2F46C is a very light, vivid yellow. Relative luminance 0.847; OKLCH L 94.0% C 0.157 H 109.9°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#F2F46C
RGBrgb(242, 244, 108)
HSLhsl(61, 86%, 69%)
HSVhsv(61, 56%, 96%)
CMYKcmyk(0.8%, 0%, 55.7%, 4.3%)
CIE-LABlab(93.74, -17.90, 63.94)
CIE-LCHlch(93.74, 66.40, 105.64°)
OKLaboklab(93.98% -0.0534 0.148)
OKLCHoklch(93.98% 0.157 109.9)
XYZxyz(71.6773, 84.6631, 26.7503)
Luminance0.8466 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F46C #6E6CF4
analogous
#F4B26C #F2F46C #AEF46C
triadic
#F2F46C #6CF2F4 #F46CF2
tetradic
#F2F46C #6CF4B2 #6E6CF4 #F46CAE
square
#F2F46C #6CF4B2 #6E6CF4 #F46CAE
split-complementary
#F2F46C #6CAEF4 #B26CF4
monochromatic
#D3D610 #EDF033 #F2F46C #F7F8A5 #FCFDDE

Accessibility & contrast

On white

1.17
#F2F46C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.93
#F2F46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F46C
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F46C#FFFFFF#000000##000000
##F2F46C1.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB5E
Deuteranopia (green-blind)
#FFEF74
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f46c;
/* rgb */ color: rgb(242, 244, 108);
/* oklch */ color: oklch(94.0% 0.157 109.9);
Tailwind
colors: {
  custom: {
    50: '#f9f79a',
    500: '#f2f46c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f46c;
$custom-light: #f9f79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f46c",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 60.882,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.93982,
    "c": 0.15737,
    "h": 109.9
  },
  "luminance": 0.84661
}

Semantic roles & 50–950 ramp

primary
#F2F46C
secondary
#3937CD
accent
#03E306
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F46C

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

Preview Lab → · Contrast checker → · Palette generator →

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