#F2F550#F2F550

#F2F550 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 93.9% C 0.179 H 110.4°. Best body text is #000000 at 17.95:1 contrast (WCAG AA passes).

Color values

HEX#F2F550
RGBrgb(242, 245, 80)
HSLhsl(61, 89%, 64%)
HSVhsv(61, 67%, 96%)
CMYKcmyk(1.2%, 0%, 67.3%, 3.9%)
CIE-LABlab(93.78, -20.12, 75.17)
CIE-LCHlch(93.78, 77.81, 104.98°)
OKLaboklab(93.95% -0.0625 0.1679)
OKLCHoklch(93.95% 0.179 110.4)
XYZxyz(70.7206, 84.7632, 20.2234)
Luminance0.8476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F550 #5350F5
analogous
#F5A550 #F2F550 #9FF550
triadic
#F2F550 #50F2F5 #F550F2
tetradic
#F2F550 #50F5A5 #5350F5 #F5509F
square
#F2F550 #50F5A5 #5350F5 #F5509F
split-complementary
#F2F550 #509FF5 #A550F5
monochromatic
#BCC00B #EEF216 #F2F550 #F6F88A #FBFCC4

Accessibility & contrast

On white

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

On black

17.95
#F2F550 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F550
17.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F550#FFFFFF#000000##000000
##F2F5501.001.1717.9517.95
#FFFFFF1.171.0021.0021.00
#00000017.9521.001.001.00
##00000017.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB36
Deuteranopia (green-blind)
#FFEF5C
Tritanopia (blue-blind)
#FFE6D4
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f550;
/* rgb */ color: rgb(242, 245, 80);
/* oklch */ color: oklch(93.9% 0.179 110.4);
Tailwind
colors: {
  custom: {
    50: '#faf88a',
    500: '#f2f550',
    950: '#000000',
  },
}
SCSS
$custom: #f2f550;
$custom-light: #faf88a;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f550",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 80
  },
  "hsl": {
    "h": 61.091,
    "s": 89.189,
    "l": 63.725
  },
  "oklch": {
    "l": 0.93947,
    "c": 0.17917,
    "h": 110.4
  },
  "luminance": 0.84761
}

Semantic roles & 50–950 ramp

primary
#F2F550
secondary
#2E2CBD
accent
#00E604
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #F2F550

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

Preview Lab → · Contrast checker → · Palette generator →

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