#F2F46F#F2F46F

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

Color values

HEX#F2F46F
RGBrgb(242, 244, 111)
HSLhsl(61, 86%, 70%)
HSVhsv(61, 55%, 96%)
CMYKcmyk(0.8%, 0%, 54.5%, 4.3%)
CIE-LABlab(93.77, -17.67, 62.67)
CIE-LCHlch(93.77, 65.11, 105.75°)
OKLaboklab(94.01% -0.0525 0.1456)
OKLCHoklch(94.01% 0.155 109.8)
XYZxyz(71.8397, 84.7281, 27.6057)
Luminance0.8473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F46F #716FF4
analogous
#F4B36F #F2F46F #B0F46F
triadic
#F2F46F #6FF2F4 #F46FF2
tetradic
#F2F46F #6FF4B3 #716FF4 #F46FB0
square
#F2F46F #6FF4B3 #716FF4 #F46FB0
split-complementary
#F2F46F #6FB0F4 #B36FF4
monochromatic
#D5D811 #EDF036 #F2F46F #F7F8A8 #FCFDE1

Accessibility & contrast

On white

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

On black

17.95
#F2F46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F46F
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F46F#FFFFFF#000000##000000
##F2F46F1.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB61
Deuteranopia (green-blind)
#FFEF76
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f46f;
/* rgb */ color: rgb(242, 244, 111);
/* oklch */ color: oklch(94.0% 0.155 109.8);
Tailwind
colors: {
  custom: {
    50: '#f9f79c',
    500: '#f2f46f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f46f;
$custom-light: #f9f79c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f46f",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 60.902,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.94014,
    "c": 0.1548,
    "h": 109.8
  },
  "luminance": 0.84726
}

Semantic roles & 50–950 ramp

primary
#F2F46F
secondary
#3C39CE
accent
#03E207
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F46F

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

Preview Lab → · Contrast checker → · Palette generator →

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