#F2EC63#F2EC63

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

Color values

HEX#F2EC63
RGBrgb(242, 236, 99)
HSLhsl(57, 85%, 67%)
HSVhsv(57, 59%, 95%)
CMYKcmyk(0%, 2.5%, 59.1%, 5.1%)
CIE-LABlab(91.58, -14.63, 65.40)
CIE-LCHlch(91.58, 67.01, 102.61°)
OKLaboklab(92.24% -0.0451 0.15)
OKLCHoklch(92.24% 0.157 106.7)
XYZxyz(68.8678, 79.7712, 23.5716)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC63 #6369F2
analogous
#F2A563 #F2EC63 #B0F263
triadic
#F2EC63 #63F2EC #EC63F2
tetradic
#F2EC63 #63F2A5 #6369F2 #F263B0
square
#F2EC63 #63F2A5 #6369F2 #F263B0
split-complementary
#F2EC63 #63B0F2 #A563F2
monochromatic
#CAC211 #EDE52B #F2EC63 #F7F39B #FBFAD4

Accessibility & contrast

On white

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

On black

16.95
#F2EC63 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC63
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC63#FFFFFF#000000##000000
##F2EC631.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2ec63;
/* rgb */ color: rgb(242, 236, 99);
/* oklch */ color: oklch(92.2% 0.157 106.7);
Tailwind
colors: {
  custom: {
    50: '#f9f194',
    500: '#f2ec63',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec63;
$custom-light: #f9f194;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec63",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 99
  },
  "hsl": {
    "h": 57.483,
    "s": 84.615,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92238,
    "c": 0.15665,
    "h": 106.7
  },
  "luminance": 0.79769
}

Semantic roles & 50–950 ramp

primary
#F2EC63
secondary
#3339C6
accent
#0EE104
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F2EC63

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

Preview Lab → · Contrast checker → · Palette generator →

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