#F2EC66#F2EC66

#F2EC66 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.3% C 0.154 H 106.7°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F2EC66
RGBrgb(242, 236, 102)
HSLhsl(57, 84%, 67%)
HSVhsv(57, 58%, 95%)
CMYKcmyk(0%, 2.5%, 57.9%, 5.1%)
CIE-LABlab(91.61, -14.43, 64.15)
CIE-LCHlch(91.61, 65.75, 102.67°)
OKLaboklab(92.27% -0.0442 0.1477)
OKLCHoklch(92.27% 0.154 106.7)
XYZxyz(69.0138, 79.8296, 24.3410)
Luminance0.7983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC66 #666CF2
analogous
#F2A666 #F2EC66 #B2F266
triadic
#F2EC66 #66F2EC #EC66F2
tetradic
#F2EC66 #66F2A6 #666CF2 #F266B2
square
#F2EC66 #66F2A6 #666CF2 #F266B2
split-complementary
#F2EC66 #66B2F2 #A666F2
monochromatic
#CCC411 #EDE52E #F2EC66 #F7F39E #FCFAD7

Accessibility & contrast

On white

1.24
#F2EC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.97
#F2EC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC66
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC66#FFFFFF#000000##000000
##F2EC661.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE457
Deuteranopia (green-blind)
#FFEA6D
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec66;
/* rgb */ color: rgb(242, 236, 102);
/* oklch */ color: oklch(92.3% 0.154 106.7);
Tailwind
colors: {
  custom: {
    50: '#f9f196',
    500: '#f2ec66',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec66;
$custom-light: #f9f196;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec66",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 102
  },
  "hsl": {
    "h": 57.429,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92268,
    "c": 0.15422,
    "h": 106.7
  },
  "luminance": 0.79827
}

Semantic roles & 50–950 ramp

primary
#F2EC66
secondary
#343AC9
accent
#0EE105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC66

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

Preview Lab → · Contrast checker → · Palette generator →

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