#F2F35A#F2F35A

#F2F35A is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.170 H 109.6°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#F2F35A
RGBrgb(242, 243, 90)
HSLhsl(60, 86%, 65%)
HSVhsv(60, 63%, 95%)
CMYKcmyk(0.4%, 0%, 63%, 4.7%)
CIE-LABlab(93.33, -18.60, 70.93)
CIE-LCHlch(93.33, 73.33, 104.69°)
OKLaboklab(93.61% -0.0573 0.1605)
OKLCHoklch(93.61% 0.17 109.6)
XYZxyz(70.5162, 83.7185, 22.1156)
Luminance0.8372 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F35A #5B5AF3
analogous
#F3A75A #F2F35A #A6F35A
triadic
#F2F35A #5AF2F3 #F35AF2
tetradic
#F2F35A #5AF3A7 #5B5AF3 #F35AA6
square
#F2F35A #5AF3A7 #5B5AF3 #F35AA6
split-complementary
#F2F35A #5AA6F3 #A75AF3
monochromatic
#C3C40E #EEEF21 #F2F35A #F6F793 #FBFBCC

Accessibility & contrast

On white

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

On black

17.74
#F2F35A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F35A
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F35A#FFFFFF#000000##000000
##F2F35A1.001.1817.7417.74
#FFFFFF1.181.0021.0021.00
#00000017.7421.001.001.00
##00000017.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE946
Deuteranopia (green-blind)
#FFEE64
Tritanopia (blue-blind)
#FFE5D4
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f35a;
/* rgb */ color: rgb(242, 243, 90);
/* oklch */ color: oklch(93.6% 0.170 109.6);
Tailwind
colors: {
  custom: {
    50: '#faf690',
    500: '#f2f35a',
    950: '#000000',
  },
}
SCSS
$custom: #f2f35a;
$custom-light: #faf690;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f35a",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 90
  },
  "hsl": {
    "h": 60.392,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.93607,
    "c": 0.17042,
    "h": 109.6
  },
  "luminance": 0.83717
}

Semantic roles & 50–950 ramp

primary
#F2F35A
secondary
#3130C2
accent
#03E304
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F35A

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

Preview Lab → · Contrast checker → · Palette generator →

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