#F2EA80#F2EA80

#F2EA80 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.128 H 104.8°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F2EA80
RGBrgb(242, 234, 128)
HSLhsl(56, 81%, 73%)
HSVhsv(56, 47%, 95%)
CMYKcmyk(0%, 3.3%, 47.1%, 5.1%)
CIE-LABlab(91.36, -11.37, 52.08)
CIE-LCHlch(91.36, 53.31, 102.31°)
OKLaboklab(92.16% -0.0328 0.1242)
OKLCHoklch(92.16% 0.128 104.8)
XYZxyz(69.9387, 79.2834, 32.0370)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA80 #8088F2
analogous
#F2B180 #F2EA80 #C1F280
triadic
#F2EA80 #80F2EA #EA80F2
tetradic
#F2EA80 #80F2B1 #8088F2 #F280C1
square
#F2EA80 #80F2B1 #8088F2 #F280C1
split-complementary
#F2EA80 #80C1F2 #B180F2
monochromatic
#E1D217 #ECE148 #F2EA80 #F8F3B8 #FCFAE3

Accessibility & contrast

On white

1.25
#F2EA80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F2EA80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA80
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA80#FFFFFF#000000##000000
##F2EA801.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE377
Deuteranopia (green-blind)
#FDE985
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea80;
/* rgb */ color: rgb(242, 234, 128);
/* oklch */ color: oklch(92.2% 0.128 104.8);
Tailwind
colors: {
  custom: {
    50: '#f8f0a7',
    500: '#f2ea80',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea80;
$custom-light: #f8f0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea80",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 128
  },
  "hsl": {
    "h": 55.789,
    "s": 81.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.92159,
    "c": 0.12845,
    "h": 104.8
  },
  "luminance": 0.79281
}

Semantic roles & 50–950 ramp

primary
#F2EA80
secondary
#4952CD
accent
#17DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #F2EA80

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

Preview Lab → · Contrast checker → · Palette generator →

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