#F2ED66#F2ED66

#F2ED66 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.5% C 0.155 H 107.1°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#F2ED66
RGBrgb(242, 237, 102)
HSLhsl(58, 84%, 67%)
HSVhsv(58, 58%, 95%)
CMYKcmyk(0%, 2.1%, 57.9%, 5.1%)
CIE-LABlab(91.87, -14.92, 64.44)
CIE-LCHlch(91.87, 66.14, 103.03°)
OKLaboklab(92.47% -0.0456 0.1484)
OKLCHoklch(92.47% 0.155 107.1)
XYZxyz(69.3026, 80.4070, 24.4373)
Luminance0.8041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2ED66 #666BF2
analogous
#F2A766 #F2ED66 #B1F266
triadic
#F2ED66 #66F2ED #ED66F2
tetradic
#F2ED66 #66F2A7 #666BF2 #F266B1
square
#F2ED66 #66F2A7 #666BF2 #F266B1
split-complementary
#F2ED66 #66B1F2 #A766F2
monochromatic
#CCC611 #EDE62E #F2ED66 #F7F49E #FCFAD7

Accessibility & contrast

On white

1.23
#F2ED66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.08
#F2ED66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2ED66
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2ED66#FFFFFF#000000##000000
##F2ED661.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE557
Deuteranopia (green-blind)
#FFEA6E
Tritanopia (blue-blind)
#FFDFD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ed66;
/* rgb */ color: rgb(242, 237, 102);
/* oklch */ color: oklch(92.5% 0.155 107.1);
Tailwind
colors: {
  custom: {
    50: '#f9f296',
    500: '#f2ed66',
    950: '#000000',
  },
}
SCSS
$custom: #f2ed66;
$custom-light: #f9f296;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ed66",
  "rgb": {
    "r": 242,
    "g": 237,
    "b": 102
  },
  "hsl": {
    "h": 57.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92474,
    "c": 0.15521,
    "h": 107.1
  },
  "luminance": 0.80405
}

Semantic roles & 50–950 ramp

primary
#F2ED66
secondary
#3439C9
accent
#0DE105
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2ED66

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

Preview Lab → · Contrast checker → · Palette generator →

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