#F2F55F#F2F55F

#F2F55F is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.1% C 0.169 H 110.3°. Best body text is #000000 at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#F2F55F
RGBrgb(242, 245, 95)
HSLhsl(61, 88%, 67%)
HSVhsv(61, 61%, 96%)
CMYKcmyk(1.2%, 0%, 61.2%, 3.9%)
CIE-LABlab(93.89, -19.26, 69.54)
CIE-LCHlch(93.89, 72.15, 105.48°)
OKLaboklab(94.07% -0.0586 0.1583)
OKLCHoklch(94.07% 0.169 110.3)
XYZxyz(71.3380, 85.0101, 23.4749)
Luminance0.8501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F55F #625FF5
analogous
#F5AD5F #F2F55F #A7F55F
triadic
#F2F55F #5FF2F5 #F55FF2
tetradic
#F2F55F #5FF5AD #625FF5 #F55FA7
square
#F2F55F #5FF5AD #625FF5 #F55FA7
split-complementary
#F2F55F #5FA7F5 #AD5FF5
monochromatic
#C9CD0D #EDF125 #F2F55F #F7F999 #FBFCD2

Accessibility & contrast

On white

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

On black

18.00
#F2F55F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F55F
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F55F#FFFFFF#000000##000000
##F2F55F1.001.1718.0018.00
#FFFFFF1.171.0021.0021.00
#00000018.0021.001.001.00
##00000018.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4C
Deuteranopia (green-blind)
#FFF068
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f2f55f;
/* rgb */ color: rgb(242, 245, 95);
/* oklch */ color: oklch(94.1% 0.169 110.3);
Tailwind
colors: {
  custom: {
    50: '#f9f893',
    500: '#f2f55f',
    950: '#000000',
  },
}
SCSS
$custom: #f2f55f;
$custom-light: #f9f893;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f55f",
  "rgb": {
    "r": 242,
    "g": 245,
    "b": 95
  },
  "hsl": {
    "h": 61.2,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.94066,
    "c": 0.16877,
    "h": 110.3
  },
  "luminance": 0.85008
}

Semantic roles & 50–950 ramp

primary
#F2F55F
secondary
#332FC9
accent
#01E505
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F55F

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

Preview Lab → · Contrast checker → · Palette generator →

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