#F2EE62#F2EE62

#F2EE62 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.6% C 0.159 H 107.6°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F2EE62
RGBrgb(242, 238, 98)
HSLhsl(58, 85%, 67%)
HSVhsv(58, 60%, 95%)
CMYKcmyk(0%, 1.7%, 59.5%, 5.1%)
CIE-LABlab(92.09, -15.67, 66.37)
CIE-LCHlch(92.09, 68.20, 103.29°)
OKLaboklab(92.64% -0.0482 0.152)
OKLCHoklch(92.64% 0.159 107.6)
XYZxyz(69.3993, 80.9102, 23.5144)
Luminance0.8091 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EE62 #6266F2
analogous
#F2A662 #F2EE62 #AEF262
triadic
#F2EE62 #62F2EE #EE62F2
tetradic
#F2EE62 #62F2A6 #6266F2 #F262AE
square
#F2EE62 #62F2A6 #6266F2 #F262AE
split-complementary
#F2EE62 #62AEF2 #A662F2
monochromatic
#C9C411 #EDE829 #F2EE62 #F7F49B #FBFAD3

Accessibility & contrast

On white

1.22
#F2EE62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#F2EE62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EE62
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EE62#FFFFFF#000000##000000
##F2EE621.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFEB6A
Tritanopia (blue-blind)
#FFE0D0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ee62;
/* rgb */ color: rgb(242, 238, 98);
/* oklch */ color: oklch(92.6% 0.159 107.6);
Tailwind
colors: {
  custom: {
    50: '#f9f394',
    500: '#f2ee62',
    950: '#000000',
  },
}
SCSS
$custom: #f2ee62;
$custom-light: #f9f394;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ee62",
  "rgb": {
    "r": 242,
    "g": 238,
    "b": 98
  },
  "hsl": {
    "h": 58.333,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92641,
    "c": 0.15942,
    "h": 107.6
  },
  "luminance": 0.80908
}

Semantic roles & 50–950 ramp

primary
#F2EE62
secondary
#3337C6
accent
#0AE104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2EE62

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

Preview Lab → · Contrast checker → · Palette generator →

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