#F2EF82#F2EF82

#F2EF82 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.132 H 107.3°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#F2EF82
RGBrgb(242, 239, 130)
HSLhsl(58, 81%, 73%)
HSVhsv(58, 46%, 95%)
CMYKcmyk(0%, 1.2%, 46.3%, 5.1%)
CIE-LABlab(92.67, -13.65, 52.73)
CIE-LCHlch(92.67, 54.47, 104.52°)
OKLaboklab(93.21% -0.0392 0.1258)
OKLCHoklch(93.21% 0.132 107.3)
XYZxyz(71.5153, 82.2237, 33.2183)
Luminance0.8222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF82 #8285F2
analogous
#F2B782 #F2EF82 #BDF282
triadic
#F2EF82 #82F2EF #EF82F2
tetradic
#F2EF82 #82F2B7 #8285F2 #F282BD
square
#F2EF82 #82F2B7 #8285F2 #F282BD
split-complementary
#F2EF82 #82BDF2 #B782F2
monochromatic
#E2DD18 #ECE84B #F2EF82 #F8F6B9 #FCFBE3

Accessibility & contrast

On white

1.20
#F2EF82 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.44
#F2EF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF82
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF82#FFFFFF#000000##000000
##F2EF821.001.2017.4417.44
#FFFFFF1.201.0021.0021.00
#00000017.4421.001.001.00
##00000017.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE779
Deuteranopia (green-blind)
#FFEC87
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef82;
/* rgb */ color: rgb(242, 239, 130);
/* oklch */ color: oklch(93.2% 0.132 107.3);
Tailwind
colors: {
  custom: {
    50: '#f8f4a8',
    500: '#f2ef82',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef82;
$custom-light: #f8f4a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef82",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 130
  },
  "hsl": {
    "h": 58.393,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93209,
    "c": 0.13172,
    "h": 107.3
  },
  "luminance": 0.82222
}

Semantic roles & 50–950 ramp

primary
#F2EF82
secondary
#4B4ECD
accent
#0EDE08
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2EF82

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

Preview Lab → · Contrast checker → · Palette generator →

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