#F2F46A#F2F46A

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

Color values

HEX#F2F46A
RGBrgb(242, 244, 106)
HSLhsl(61, 86%, 69%)
HSVhsv(61, 57%, 96%)
CMYKcmyk(0.8%, 0%, 56.6%, 4.3%)
CIE-LABlab(93.72, -18.04, 64.78)
CIE-LCHlch(93.72, 67.25, 105.56°)
OKLaboklab(93.96% -0.0541 0.1496)
OKLCHoklch(93.96% 0.159 109.9)
XYZxyz(71.5721, 84.6210, 26.1961)
Luminance0.8462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F46A #6C6AF4
analogous
#F4B16A #F2F46A #ADF46A
triadic
#F2F46A #6AF2F4 #F46AF2
tetradic
#F2F46A #6AF4B1 #6C6AF4 #F46AAD
square
#F2F46A #6AF4B1 #6C6AF4 #F46AAD
split-complementary
#F2F46A #6AADF4 #B16AF4
monochromatic
#D1D410 #EDF031 #F2F46A #F7F8A3 #FCFCDC

Accessibility & contrast

On white

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

On black

17.92
#F2F46A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F46A
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F46A#FFFFFF#000000##000000
##F2F46A1.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f46a;
/* rgb */ color: rgb(242, 244, 106);
/* oklch */ color: oklch(94.0% 0.159 109.9);
Tailwind
colors: {
  custom: {
    50: '#f9f799',
    500: '#f2f46a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f46a;
$custom-light: #f9f799;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f46a",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 106
  },
  "hsl": {
    "h": 60.87,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.93962,
    "c": 0.15904,
    "h": 109.9
  },
  "luminance": 0.84619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F46A

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

Preview Lab → · Contrast checker → · Palette generator →

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