#F2F35C#F2F35C

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

Color values

HEX#F2F35C
RGBrgb(242, 243, 92)
HSLhsl(60, 86%, 66%)
HSVhsv(60, 62%, 95%)
CMYKcmyk(0.4%, 0%, 62.1%, 4.7%)
CIE-LABlab(93.34, -18.48, 70.16)
CIE-LCHlch(93.34, 72.55, 104.76°)
OKLaboklab(93.62% -0.0567 0.1592)
OKLCHoklch(93.62% 0.169 109.6)
XYZxyz(70.6025, 83.7531, 22.5700)
Luminance0.8375 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F35C #5D5CF3
analogous
#F3A85C #F2F35C #A7F35C
triadic
#F2F35C #5CF2F3 #F35CF2
tetradic
#F2F35C #5CF3A8 #5D5CF3 #F35CA7
square
#F2F35C #5CF3A8 #5D5CF3 #F35CA7
split-complementary
#F2F35C #5CA7F3 #A85CF3
monochromatic
#C5C60F #EDEF23 #F2F35C #F7F795 #FBFBCE

Accessibility & contrast

On white

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

On black

17.75
#F2F35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F35C
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F35C#FFFFFF#000000##000000
##F2F35C1.001.1817.7517.75
#FFFFFF1.181.0021.0021.00
#00000017.7521.001.001.00
##00000017.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f35c;
/* rgb */ color: rgb(242, 243, 92);
/* oklch */ color: oklch(93.6% 0.169 109.6);
Tailwind
colors: {
  custom: {
    50: '#faf691',
    500: '#f2f35c',
    950: '#000000',
  },
}
SCSS
$custom: #f2f35c;
$custom-light: #faf691;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f35c",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 92
  },
  "hsl": {
    "h": 60.397,
    "s": 86.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.93624,
    "c": 0.16897,
    "h": 109.6
  },
  "luminance": 0.83751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F35C

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

Preview Lab → · Contrast checker → · Palette generator →

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