#F2EF80#F2EF80

#F2EF80 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.2% C 0.134 H 107.4°. Best body text is #000000 at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#F2EF80
RGBrgb(242, 239, 128)
HSLhsl(58, 81%, 73%)
HSVhsv(58, 47%, 95%)
CMYKcmyk(0%, 1.2%, 47.1%, 5.1%)
CIE-LABlab(92.65, -13.83, 53.64)
CIE-LCHlch(92.65, 55.40, 104.46°)
OKLaboklab(93.18% -0.0399 0.1276)
OKLCHoklch(93.18% 0.134 107.4)
XYZxyz(71.3823, 82.1706, 32.5182)
Luminance0.8217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EF80 #8083F2
analogous
#F2B680 #F2EF80 #BCF280
triadic
#F2EF80 #80F2EF #EF80F2
tetradic
#F2EF80 #80F2B6 #8083F2 #F280BC
square
#F2EF80 #80F2B6 #8083F2 #F280BC
split-complementary
#F2EF80 #80BCF2 #B680F2
monochromatic
#E1DB17 #ECE848 #F2EF80 #F8F6B8 #FCFCE3

Accessibility & contrast

On white

1.20
#F2EF80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.43
#F2EF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EF80
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EF80#FFFFFF#000000##000000
##F2EF801.001.2017.4317.43
#FFFFFF1.201.0021.0021.00
#00000017.4321.001.001.00
##00000017.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE776
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#FFE3D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f2ef80;
/* rgb */ color: rgb(242, 239, 128);
/* oklch */ color: oklch(93.2% 0.134 107.4);
Tailwind
colors: {
  custom: {
    50: '#f8f4a7',
    500: '#f2ef80',
    950: '#000000',
  },
}
SCSS
$custom: #f2ef80;
$custom-light: #f8f4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ef80",
  "rgb": {
    "r": 242,
    "g": 239,
    "b": 128
  },
  "hsl": {
    "h": 58.421,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.93183,
    "c": 0.13371,
    "h": 107.4
  },
  "luminance": 0.82169
}

Semantic roles & 50–950 ramp

primary
#F2EF80
secondary
#494DCD
accent
#0DDE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2EF80

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

Preview Lab → · Contrast checker → · Palette generator →

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