#F2F355#F2F355

#F2F355 is a very light, vivid yellow. Relative luminance 0.836; OKLCH L 93.6% C 0.174 H 109.7°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#F2F355
RGBrgb(242, 243, 85)
HSLhsl(60, 87%, 64%)
HSVhsv(60, 65%, 95%)
CMYKcmyk(0.4%, 0%, 65%, 4.7%)
CIE-LABlab(93.29, -18.89, 72.82)
CIE-LCHlch(93.29, 75.23, 104.54°)
OKLaboklab(93.57% -0.0586 0.1637)
OKLCHoklch(93.57% 0.174 109.7)
XYZxyz(70.3105, 83.6363, 21.0322)
Luminance0.8363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F355 #5655F3
analogous
#F3A555 #F2F355 #A3F355
triadic
#F2F355 #55F2F3 #F355F2
tetradic
#F2F355 #55F3A5 #5655F3 #F355A3
square
#F2F355 #55F3A5 #5655F3 #F355A3
split-complementary
#F2F355 #55A3F3 #A555F3
monochromatic
#BFC00E #EEEF1C #F2F355 #F6F78E #FBFBC7

Accessibility & contrast

On white

1.18
#F2F355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.73
#F2F355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F355
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F355#FFFFFF#000000##000000
##F2F3551.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE93F
Deuteranopia (green-blind)
#FFEE60
Tritanopia (blue-blind)
#FFE4D3
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f355;
/* rgb */ color: rgb(242, 243, 85);
/* oklch */ color: oklch(93.6% 0.174 109.7);
Tailwind
colors: {
  custom: {
    50: '#faf68d',
    500: '#f2f355',
    950: '#000000',
  },
}
SCSS
$custom: #f2f355;
$custom-light: #faf68d;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f355",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 85
  },
  "hsl": {
    "h": 60.38,
    "s": 86.813,
    "l": 64.314
  },
  "oklch": {
    "l": 0.93567,
    "c": 0.17391,
    "h": 109.7
  },
  "luminance": 0.83634
}

Semantic roles & 50–950 ramp

primary
#F2F355
secondary
#2F2EBE
accent
#02E304
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F355

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

Preview Lab → · Contrast checker → · Palette generator →

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