#F2EC60#F2EC60

#F2EC60 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.2% C 0.159 H 106.8°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F2EC60
RGBrgb(242, 236, 96)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 60%, 95%)
CMYKcmyk(0%, 2.5%, 60.3%, 5.1%)
CIE-LABlab(91.56, -14.83, 66.63)
CIE-LCHlch(91.56, 68.26, 102.55°)
OKLaboklab(92.21% -0.046 0.1522)
OKLCHoklch(92.21% 0.159 106.8)
XYZxyz(68.7270, 79.7149, 22.8303)
Luminance0.7971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC60 #6066F2
analogous
#F2A360 #F2EC60 #AFF260
triadic
#F2EC60 #60F2EC #EC60F2
tetradic
#F2EC60 #60F2A3 #6066F2 #F260AF
square
#F2EC60 #60F2A3 #6066F2 #F260AF
split-complementary
#F2EC60 #60AFF2 #A360F2
monochromatic
#C7C010 #EDE527 #F2EC60 #F7F399 #FBFAD1

Accessibility & contrast

On white

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

On black

16.94
#F2EC60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC60
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC60#FFFFFF#000000##000000
##F2EC601.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE450
Deuteranopia (green-blind)
#FFE968
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec60;
/* rgb */ color: rgb(242, 236, 96);
/* oklch */ color: oklch(92.2% 0.159 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f193',
    500: '#f2ec60',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec60;
$custom-light: #f9f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec60",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 96
  },
  "hsl": {
    "h": 57.534,
    "s": 84.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.9221,
    "c": 0.15903,
    "h": 106.8
  },
  "luminance": 0.79713
}

Semantic roles & 50–950 ramp

primary
#F2EC60
secondary
#3238C4
accent
#0DE104
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F2EC60

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

Preview Lab → · Contrast checker → · Palette generator →

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