#F2F26F#F2F26F

#F2F26F is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.6% C 0.153 H 109.0°. Best body text is #000000 at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#F2F26F
RGBrgb(242, 242, 111)
HSLhsl(60, 83%, 69%)
HSVhsv(60, 54%, 95%)
CMYKcmyk(0%, 0%, 54.1%, 5.1%)
CIE-LABlab(93.25, -16.70, 62.08)
CIE-LCHlch(93.25, 64.29, 105.06°)
OKLaboklab(93.6% -0.0498 0.1444)
OKLCHoklch(93.6% 0.153 109)
XYZxyz(71.2412, 83.5310, 27.4061)
Luminance0.8353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F26F #6F6FF2
analogous
#F2B16F #F2F26F #B1F26F
triadic
#F2F26F #6FF2F2 #F26FF2
tetradic
#F2F26F #6FF2B1 #6F6FF2 #F26FB1
square
#F2F26F #6FF2B1 #6F6FF2 #F26FB1
split-complementary
#F2F26F #6FB1F2 #B16FF2
monochromatic
#D4D413 #EDED37 #F2F26F #F7F7A7 #FCFCDF

Accessibility & contrast

On white

1.19
#F2F26F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.71
#F2F26F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F26F
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F26F#FFFFFF#000000##000000
##F2F26F1.001.1917.7117.71
#FFFFFF1.191.0021.0021.00
#00000017.7121.001.001.00
##00000017.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE962
Deuteranopia (green-blind)
#FFEE76
Tritanopia (blue-blind)
#FFE5D5
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f26f;
/* rgb */ color: rgb(242, 242, 111);
/* oklch */ color: oklch(93.6% 0.153 109.0);
Tailwind
colors: {
  custom: {
    50: '#f9f69c',
    500: '#f2f26f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f26f;
$custom-light: #f9f69c;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f26f",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 111
  },
  "hsl": {
    "h": 60,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.93599,
    "c": 0.15269,
    "h": 109
  },
  "luminance": 0.83529
}

Semantic roles & 50–950 ramp

primary
#F2F26F
secondary
#3A3ACB
accent
#06E006
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F26F

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

Preview Lab → · Contrast checker → · Palette generator →

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