#F2EC61#F2EC61

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

Color values

HEX#F2EC61
RGBrgb(242, 236, 97)
HSLhsl(58, 85%, 66%)
HSVhsv(58, 60%, 95%)
CMYKcmyk(0%, 2.5%, 59.9%, 5.1%)
CIE-LABlab(91.57, -14.76, 66.22)
CIE-LCHlch(91.57, 67.84, 102.57°)
OKLaboklab(92.22% -0.0457 0.1515)
OKLCHoklch(92.22% 0.158 106.8)
XYZxyz(68.7733, 79.7334, 23.0743)
Luminance0.7973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC61 #6167F2
analogous
#F2A461 #F2EC61 #B0F261
triadic
#F2EC61 #61F2EC #EC61F2
tetradic
#F2EC61 #61F2A4 #6167F2 #F261B0
square
#F2EC61 #61F2A4 #6167F2 #F261B0
split-complementary
#F2EC61 #61B0F2 #A461F2
monochromatic
#C8C110 #EDE528 #F2EC61 #F7F39A #FBFAD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EC61#FFFFFF#000000##000000
##F2EC611.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)
#FEE451
Deuteranopia (green-blind)
#FFE969
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f2ec61;
/* rgb */ color: rgb(242, 236, 97);
/* oklch */ color: oklch(92.2% 0.158 106.8);
Tailwind
colors: {
  custom: {
    50: '#f9f193',
    500: '#f2ec61',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec61;
$custom-light: #f9f193;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec61",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 97
  },
  "hsl": {
    "h": 57.517,
    "s": 84.795,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92219,
    "c": 0.15825,
    "h": 106.8
  },
  "luminance": 0.79731
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2EC61

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

Preview Lab → · Contrast checker → · Palette generator →

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