#F2F55B#F2F55B

#F2F55B is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.172 H 110.4°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#F2F55B
RGBrgb(242, 245, 91)
HSLhsl(61, 89%, 66%)
HSVhsv(61, 63%, 96%)
CMYKcmyk(1.2%, 0%, 62.9%, 3.9%)
CIE-LABlab(93.86, -19.51, 71.09)
CIE-LCHlch(93.86, 73.72, 105.34°)
OKLaboklab(94.03% -0.0597 0.161)
OKLCHoklch(94.03% 0.172 110.4)
XYZxyz(71.1609, 84.9392, 22.5419)
Luminance0.8494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F55B #5E5BF5
analogous
#F5AB5B #F2F55B #A5F55B
triadic
#F2F55B #5BF2F5 #F55BF2
tetradic
#F2F55B #5BF5AB #5E5BF5 #F55BA5
square
#F2F55B #5BF5AB #5E5BF5 #F55BA5
split-complementary
#F2F55B #5BA5F5 #AB5BF5
monochromatic
#C6C90C #EDF121 #F2F55B #F7F995 #FBFCCE

Accessibility & contrast

On white

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

On black

17.99
#F2F55B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F55B
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F55B#FFFFFF#000000##000000
##F2F55B1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB47
Deuteranopia (green-blind)
#FFF065
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f55b;
/* rgb */ color: rgb(242, 245, 91);
/* oklch */ color: oklch(94.0% 0.172 110.4);
Tailwind
colors: {
  custom: {
    50: '#faf890',
    500: '#f2f55b',
    950: '#000000',
  },
}
SCSS
$custom: #f2f55b;
$custom-light: #faf890;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f55b",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 91
  },
  "hsl": {
    "h": 61.169,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.94032,
    "c": 0.17171,
    "h": 110.4
  },
  "luminance": 0.84937
}

Semantic roles & 50–950 ramp

primary
#F2F55B
secondary
#312EC6
accent
#00E505
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F55B

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

Preview Lab → · Contrast checker → · Palette generator →

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