#F2F16B#F2F16B

#F2F16B is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.3% C 0.155 H 108.7°. Best body text is #000000 at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#F2F16B
RGBrgb(242, 241, 107)
HSLhsl(60, 84%, 68%)
HSVhsv(60, 56%, 95%)
CMYKcmyk(0%, 0.4%, 55.8%, 5.1%)
CIE-LABlab(92.95, -16.51, 63.49)
CIE-LCHlch(92.95, 65.60, 104.58°)
OKLaboklab(93.35% -0.0496 0.1469)
OKLCHoklch(93.35% 0.155 108.7)
XYZxyz(70.7291, 82.8513, 26.1732)
Luminance0.8285 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F16B #6B6CF2
analogous
#F2AE6B #F2F16B #AFF26B
triadic
#F2F16B #6BF2F1 #F16BF2
tetradic
#F2F16B #6BF2AE #6B6CF2 #F26BAF
square
#F2F16B #6BF2AE #6B6CF2 #F26BAF
split-complementary
#F2F16B #6BAFF2 #AE6BF2
monochromatic
#D0CF12 #EDEC33 #F2F16B #F7F6A3 #FCFCDC

Accessibility & contrast

On white

1.20
#F2F16B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.57
#F2F16B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F16B
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F16B#FFFFFF#000000##000000
##F2F16B1.001.2017.5717.57
#FFFFFF1.201.0021.0021.00
#00000017.5721.001.001.00
##00000017.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE85D
Deuteranopia (green-blind)
#FFED72
Tritanopia (blue-blind)
#FFE3D4
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f2f16b;
/* rgb */ color: rgb(242, 241, 107);
/* oklch */ color: oklch(93.3% 0.155 108.7);
Tailwind
colors: {
  custom: {
    50: '#f9f59a',
    500: '#f2f16b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f16b;
$custom-light: #f9f59a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f16b",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 107
  },
  "hsl": {
    "h": 59.556,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.9335,
    "c": 0.15508,
    "h": 108.7
  },
  "luminance": 0.82849
}

Semantic roles & 50–950 ramp

primary
#F2F16B
secondary
#3638CB
accent
#07E005
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F16B

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

Preview Lab → · Contrast checker → · Palette generator →

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