#F2EF79#F2EF79

#F2EF79 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.1% C 0.140 H 107.5°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#F2EF79
RGBrgb(242, 239, 121)
HSLhsl(59, 82%, 71%)
HSVhsv(59, 50%, 95%)
CMYKcmyk(0%, 1.2%, 50%, 5.1%)
CIE-LABlab(92.57, -14.44, 56.80)
CIE-LCHlch(92.57, 58.61, 104.27°)
OKLaboklab(93.1% -0.0423 0.1339)
OKLCHoklch(93.1% 0.14 107.5)
XYZxyz(70.9374, 81.9926, 30.1748)
Luminance0.8199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF79 #797CF2
analogous
#F2B279 #F2EF79 #B8F279
triadic
#F2EF79 #79F2EF #EF79F2
tetradic
#F2EF79 #79F2B2 #797CF2 #F279B8
square
#F2EF79 #79F2B2 #797CF2 #F279B8
split-complementary
#F2EF79 #79B8F2 #B279F2
monochromatic
#DBD615 #EDE841 #F2EF79 #F7F6B1 #FCFCE3

Accessibility & contrast

On white

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

On black

17.40
#F2EF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF79
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF79#FFFFFF#000000##000000
##F2EF791.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#FFE2D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef79;
/* rgb */ color: rgb(242, 239, 121);
/* oklch */ color: oklch(93.1% 0.140 107.5);
Tailwind
colors: {
  custom: {
    50: '#f8f4a2',
    500: '#f2ef79',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef79;
$custom-light: #f8f4a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef79",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 121
  },
  "hsl": {
    "h": 58.512,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93095,
    "c": 0.14046,
    "h": 107.5
  },
  "luminance": 0.81991
}

Semantic roles & 50–950 ramp

primary
#F2EF79
secondary
#4346CC
accent
#0CDF07
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2EF79

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

Preview Lab → · Contrast checker → · Palette generator →

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