#F2F362#F2F362

#F2F362 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.7% C 0.164 H 109.6°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F2F362
RGBrgb(242, 243, 98)
HSLhsl(60, 86%, 67%)
HSVhsv(60, 60%, 95%)
CMYKcmyk(0.4%, 0%, 59.7%, 4.7%)
CIE-LABlab(93.39, -18.10, 67.78)
CIE-LCHlch(93.39, 70.16, 104.95°)
OKLaboklab(93.68% -0.0551 0.1549)
OKLCHoklch(93.68% 0.164 109.6)
XYZxyz(70.8752, 83.8622, 24.0064)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F362 #6362F3
analogous
#F3AC62 #F2F362 #AAF362
triadic
#F2F362 #62F2F3 #F362F2
tetradic
#F2F362 #62F3AC #6362F3 #F362AA
square
#F2F362 #62F3AC #6362F3 #F362AA
split-complementary
#F2F362 #62AAF3 #AC62F3
monochromatic
#CACB10 #EDEF29 #F2F362 #F7F79B #FBFCD4

Accessibility & contrast

On white

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

On black

17.77
#F2F362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F362
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F362#FFFFFF#000000##000000
##F2F3621.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f362;
/* rgb */ color: rgb(242, 243, 98);
/* oklch */ color: oklch(93.7% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f9f694',
    500: '#f2f362',
    950: '#000000',
  },
}
SCSS
$custom: #f2f362;
$custom-light: #f9f694;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f362",
  "rgb": {
    "r": 242,
    "g": 243,
    "b": 98
  },
  "hsl": {
    "h": 60.414,
    "s": 85.799,
    "l": 66.863
  },
  "oklch": {
    "l": 0.93677,
    "c": 0.16444,
    "h": 109.6
  },
  "luminance": 0.8386
}

Semantic roles & 50–950 ramp

primary
#F2F362
secondary
#3332C7
accent
#03E205
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2F362

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

Preview Lab → · Contrast checker → · Palette generator →

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