#F2EF66#F2EF66

#F2EF66 is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.9% C 0.157 H 107.9°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#F2EF66
RGBrgb(242, 239, 102)
HSLhsl(59, 84%, 67%)
HSVhsv(59, 58%, 95%)
CMYKcmyk(0%, 1.2%, 57.9%, 5.1%)
CIE-LABlab(92.39, -15.89, 65.01)
CIE-LCHlch(92.39, 66.92, 103.74°)
OKLaboklab(92.89% -0.0484 0.1496)
OKLCHoklch(92.89% 0.157 107.9)
XYZxyz(69.8848, 81.5716, 24.6314)
Luminance0.8157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF66 #6669F2
analogous
#F2A966 #F2EF66 #AFF266
triadic
#F2EF66 #66F2EF #EF66F2
tetradic
#F2EF66 #66F2A9 #6669F2 #F266AF
square
#F2EF66 #66F2A9 #6669F2 #F266AF
split-complementary
#F2EF66 #66AFF2 #A966F2
monochromatic
#CCC811 #EDE92E #F2EF66 #F7F59E #FCFBD7

Accessibility & contrast

On white

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

On black

17.31
#F2EF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF66
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF66#FFFFFF#000000##000000
##F2EF661.001.2117.3117.31
#FFFFFF1.211.0021.0021.00
#00000017.3121.001.001.00
##00000017.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE657
Deuteranopia (green-blind)
#FFEC6E
Tritanopia (blue-blind)
#FFE1D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f2ef66;
/* rgb */ color: rgb(242, 239, 102);
/* oklch */ color: oklch(92.9% 0.157 107.9);
Tailwind
colors: {
  custom: {
    50: '#f9f496',
    500: '#f2ef66',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef66;
$custom-light: #f9f496;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef66",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 102
  },
  "hsl": {
    "h": 58.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92887,
    "c": 0.1572,
    "h": 107.9
  },
  "luminance": 0.8157
}

Semantic roles & 50–950 ramp

primary
#F2EF66
secondary
#3437C9
accent
#09E105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EF66

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

Preview Lab → · Contrast checker → · Palette generator →

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