#F2F35E#F2F35E

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

Color values

HEX#F2F35E
RGBrgb(242, 243, 94)
HSLhsl(60, 86%, 66%)
HSVhsv(60, 61%, 95%)
CMYKcmyk(0.4%, 0%, 61.3%, 4.7%)
CIE-LABlab(93.36, -18.36, 69.38)
CIE-LCHlch(93.36, 71.76, 104.82°)
OKLaboklab(93.64% -0.0562 0.1578)
OKLCHoklch(93.64% 0.167 109.6)
XYZxyz(70.6911, 83.7885, 23.0365)
Luminance0.8379 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F35E #5F5EF3
analogous
#F3A95E #F2F35E #A7F35E
triadic
#F2F35E #5EF2F3 #F35EF2
tetradic
#F2F35E #5EF3A9 #5F5EF3 #F35EA7
square
#F2F35E #5EF3A9 #5F5EF3 #F35EA7
split-complementary
#F2F35E #5EA7F3 #A95EF3
monochromatic
#C6C80F #EDEF25 #F2F35E #F7F797 #FBFBD0

Accessibility & contrast

On white

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

On black

17.76
#F2F35E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F35E
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F35E#FFFFFF#000000##000000
##F2F35E1.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f35e;
/* rgb */ color: rgb(242, 243, 94);
/* oklch */ color: oklch(93.6% 0.167 109.6);
Tailwind
colors: {
  custom: {
    50: '#f9f692',
    500: '#f2f35e',
    950: '#000000',
  },
}
SCSS
$custom: #f2f35e;
$custom-light: #f9f692;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f35e",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 94
  },
  "hsl": {
    "h": 60.403,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.93641,
    "c": 0.16749,
    "h": 109.6
  },
  "luminance": 0.83787
}

Semantic roles & 50–950 ramp

primary
#F2F35E
secondary
#3231C5
accent
#03E304
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F2F35E

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

Preview Lab → · Contrast checker → · Palette generator →

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