#F2EA81#F2EA81

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

Color values

HEX#F2EA81
RGBrgb(242, 234, 129)
HSLhsl(56, 81%, 73%)
HSVhsv(56, 47%, 95%)
CMYKcmyk(0%, 3.3%, 46.7%, 5.1%)
CIE-LABlab(91.37, -11.28, 51.62)
CIE-LCHlch(91.37, 52.84, 102.32°)
OKLaboklab(92.17% -0.0324 0.1233)
OKLCHoklch(92.17% 0.127 104.8)
XYZxyz(70.0049, 79.3099, 32.3853)
Luminance0.7931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA81 #8189F2
analogous
#F2B181 #F2EA81 #C2F281
triadic
#F2EA81 #81F2EA #EA81F2
tetradic
#F2EA81 #81F2B1 #8189F2 #F281C2
square
#F2EA81 #81F2B1 #8189F2 #F281C2
split-complementary
#F2EA81 #81C2F2 #B181F2
monochromatic
#E1D317 #ECE14A #F2EA81 #F8F3B8 #FCFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA81#FFFFFF#000000##000000
##F2EA811.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)
#FAE378
Deuteranopia (green-blind)
#FDE986
Tritanopia (blue-blind)
#FFDED1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea81;
/* rgb */ color: rgb(242, 234, 129);
/* oklch */ color: oklch(92.2% 0.127 104.8);
Tailwind
colors: {
  custom: {
    50: '#f8f0a7',
    500: '#f2ea81',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea81;
$custom-light: #f8f0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea81",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 129
  },
  "hsl": {
    "h": 55.752,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92172,
    "c": 0.12745,
    "h": 104.8
  },
  "luminance": 0.79308
}

Semantic roles & 50–950 ramp

primary
#F2EA81
secondary
#4A53CD
accent
#17DE08
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #F2EA81

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

Preview Lab → · Contrast checker → · Palette generator →

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