#F2F55C#F2F55C

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

Color values

HEX#F2F55C
RGBrgb(242, 245, 92)
HSLhsl(61, 88%, 66%)
HSVhsv(61, 62%, 96%)
CMYKcmyk(1.2%, 0%, 62.4%, 3.9%)
CIE-LABlab(93.86, -19.45, 70.71)
CIE-LCHlch(93.86, 73.33, 105.38°)
OKLaboklab(94.04% -0.0595 0.1603)
OKLCHoklch(94.04% 0.171 110.4)
XYZxyz(71.2043, 84.9566, 22.7706)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F55C #5F5CF5
analogous
#F5AB5C #F2F55C #A6F55C
triadic
#F2F55C #5CF2F5 #F55CF2
tetradic
#F2F55C #5CF5AB #5F5CF5 #F55CA6
square
#F2F55C #5CF5AB #5F5CF5 #F55CA6
split-complementary
#F2F55C #5CA6F5 #AB5CF5
monochromatic
#C6CA0C #EDF122 #F2F55C #F7F996 #FBFCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F55C#FFFFFF#000000##000000
##F2F55C1.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)
#FFEB48
Deuteranopia (green-blind)
#FFF066
Tritanopia (blue-blind)
#FFE7D5
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f55c;
/* rgb */ color: rgb(242, 245, 92);
/* oklch */ color: oklch(94.0% 0.171 110.4);
Tailwind
colors: {
  custom: {
    50: '#faf891',
    500: '#f2f55c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f55c;
$custom-light: #faf891;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f55c",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 92
  },
  "hsl": {
    "h": 61.176,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.9404,
    "c": 0.17099,
    "h": 110.4
  },
  "luminance": 0.84955
}

Semantic roles & 50–950 ramp

primary
#F2F55C
secondary
#322FC6
accent
#00E505
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F55C

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

Preview Lab → · Contrast checker → · Palette generator →

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