#F2F46B#F2F46B

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

Color values

HEX#F2F46B
RGBrgb(242, 244, 107)
HSLhsl(61, 86%, 69%)
HSVhsv(61, 56%, 96%)
CMYKcmyk(0.8%, 0%, 56.1%, 4.3%)
CIE-LABlab(93.73, -17.97, 64.36)
CIE-LCHlch(93.73, 66.82, 105.60°)
OKLaboklab(93.97% -0.0538 0.1488)
OKLCHoklch(93.97% 0.158 109.9)
XYZxyz(71.6244, 84.6419, 26.4716)
Luminance0.8464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F46B #6D6BF4
analogous
#F4B26B #F2F46B #AEF46B
triadic
#F2F46B #6BF2F4 #F46BF2
tetradic
#F2F46B #6BF4B2 #6D6BF4 #F46BAE
square
#F2F46B #6BF4B2 #6D6BF4 #F46BAE
split-complementary
#F2F46B #6BAEF4 #B26BF4
monochromatic
#D2D510 #EDF032 #F2F46B #F7F8A4 #FCFCDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F46B#FFFFFF#000000##000000
##F2F46B1.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)
#FFEB5C
Deuteranopia (green-blind)
#FFEF73
Tritanopia (blue-blind)
#FFE6D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f46b;
/* rgb */ color: rgb(242, 244, 107);
/* oklch */ color: oklch(94.0% 0.158 109.9);
Tailwind
colors: {
  custom: {
    50: '#f9f79a',
    500: '#f2f46b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f46b;
$custom-light: #f9f79a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f46b",
  "rgb": {
    "r": 242,
    "g": 244,
    "b": 107
  },
  "hsl": {
    "h": 60.876,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.93972,
    "c": 0.1582,
    "h": 109.9
  },
  "luminance": 0.8464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F46B

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

Preview Lab → · Contrast checker → · Palette generator →

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