#F2EF62#F2EF62

#F2EF62 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.8% C 0.160 H 108.0°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#F2EF62
RGBrgb(242, 239, 98)
HSLhsl(59, 85%, 67%)
HSVhsv(59, 60%, 95%)
CMYKcmyk(0%, 1.2%, 59.5%, 5.1%)
CIE-LABlab(92.35, -16.16, 66.65)
CIE-LCHlch(92.35, 68.59, 103.63°)
OKLaboklab(92.85% -0.0496 0.1526)
OKLCHoklch(92.85% 0.16 108)
XYZxyz(69.6912, 81.4941, 23.6117)
Luminance0.8149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF62 #6265F2
analogous
#F2A762 #F2EF62 #ADF262
triadic
#F2EF62 #62F2EF #EF62F2
tetradic
#F2EF62 #62F2A7 #6265F2 #F262AD
square
#F2EF62 #62F2A7 #6265F2 #F262AD
split-complementary
#F2EF62 #62ADF2 #A762F2
monochromatic
#C9C511 #EDE929 #F2EF62 #F7F59B #FBFBD3

Accessibility & contrast

On white

1.21
#F2EF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.30
#F2EF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF62
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF62#FFFFFF#000000##000000
##F2EF621.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE652
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef62;
/* rgb */ color: rgb(242, 239, 98);
/* oklch */ color: oklch(92.8% 0.160 108.0);
Tailwind
colors: {
  custom: {
    50: '#f9f494',
    500: '#f2ef62',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef62;
$custom-light: #f9f494;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef62",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 98
  },
  "hsl": {
    "h": 58.75,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92848,
    "c": 0.16041,
    "h": 108
  },
  "luminance": 0.81492
}

Semantic roles & 50–950 ramp

primary
#F2EF62
secondary
#3336C6
accent
#09E104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF62

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

Preview Lab → · Contrast checker → · Palette generator →

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