#F2EC80#F2EC80

#F2EC80 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.6% C 0.131 H 105.9°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#F2EC80
RGBrgb(242, 236, 128)
HSLhsl(57, 81%, 73%)
HSVhsv(57, 47%, 95%)
CMYKcmyk(0%, 2.5%, 47.1%, 5.1%)
CIE-LABlab(91.88, -12.36, 52.71)
CIE-LCHlch(91.88, 54.14, 103.19°)
OKLaboklab(92.57% -0.0356 0.1256)
OKLCHoklch(92.57% 0.131 105.9)
XYZxyz(70.5113, 80.4286, 32.2278)
Luminance0.8043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EC80 #8086F2
analogous
#F2B380 #F2EC80 #BFF280
triadic
#F2EC80 #80F2EC #EC80F2
tetradic
#F2EC80 #80F2B3 #8086F2 #F280BF
square
#F2EC80 #80F2B3 #8086F2 #F280BF
split-complementary
#F2EC80 #80BFF2 #B380F2
monochromatic
#E1D617 #ECE448 #F2EC80 #F8F4B8 #FCFBE3

Accessibility & contrast

On white

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

On black

17.09
#F2EC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EC80
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EC80#FFFFFF#000000##000000
##F2EC801.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE577
Deuteranopia (green-blind)
#FFEA85
Tritanopia (blue-blind)
#FFE0D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f2ec80;
/* rgb */ color: rgb(242, 236, 128);
/* oklch */ color: oklch(92.6% 0.131 105.9);
Tailwind
colors: {
  custom: {
    50: '#f8f2a7',
    500: '#f2ec80',
    950: '#000000',
  },
}
SCSS
$custom: #f2ec80;
$custom-light: #f8f2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ec80",
  "rgb": {
    "r": 242,
    "g": 236,
    "b": 128
  },
  "hsl": {
    "h": 56.842,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92568,
    "c": 0.13052,
    "h": 105.9
  },
  "luminance": 0.80427
}

Semantic roles & 50–950 ramp

primary
#F2EC80
secondary
#4950CD
accent
#13DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #F2EC80

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

Preview Lab → · Contrast checker → · Palette generator →

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