#F2F55A#F2F55A

#F2F55A 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.98:1 contrast (WCAG AA passes).

Color values

HEX#F2F55A
RGBrgb(242, 245, 90)
HSLhsl(61, 89%, 66%)
HSVhsv(61, 63%, 96%)
CMYKcmyk(1.2%, 0%, 63.3%, 3.9%)
CIE-LABlab(93.85, -19.56, 71.48)
CIE-LCHlch(93.85, 74.11, 105.31°)
OKLaboklab(94.02% -0.06 0.1616)
OKLCHoklch(94.02% 0.172 110.4)
XYZxyz(71.1180, 84.9221, 22.3162)
Luminance0.8492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F55A #5D5AF5
analogous
#F5AA5A #F2F55A #A5F55A
triadic
#F2F55A #5AF2F5 #F55AF2
tetradic
#F2F55A #5AF5AA #5D5AF5 #F55AA5
square
#F2F55A #5AF5AA #5D5AF5 #F55AA5
split-complementary
#F2F55A #5AA5F5 #AA5AF5
monochromatic
#C5C80C #EDF220 #F2F55A #F7F894 #FBFCCD

Accessibility & contrast

On white

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

On black

17.98
#F2F55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F55A
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F55A#FFFFFF#000000##000000
##F2F55A1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f55a;
/* rgb */ color: rgb(242, 245, 90);
/* oklch */ color: oklch(94.0% 0.172 110.4);
Tailwind
colors: {
  custom: {
    50: '#faf890',
    500: '#f2f55a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f55a;
$custom-light: #faf890;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f55a",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 90
  },
  "hsl": {
    "h": 61.161,
    "s": 88.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94024,
    "c": 0.17243,
    "h": 110.4
  },
  "luminance": 0.8492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F55A

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

Preview Lab → · Contrast checker → · Palette generator →

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