#F2EA86#F2EA86

#F2EA86 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.122 H 104.5°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F2EA86
RGBrgb(242, 234, 134)
HSLhsl(56, 81%, 74%)
HSVhsv(56, 45%, 95%)
CMYKcmyk(0%, 3.3%, 44.6%, 5.1%)
CIE-LABlab(91.44, -10.81, 49.31)
CIE-LCHlch(91.44, 50.48, 102.37°)
OKLaboklab(92.24% -0.0306 0.1185)
OKLCHoklch(92.24% 0.122 104.5)
XYZxyz(70.3454, 79.4461, 34.1787)
Luminance0.7944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA86 #868EF2
analogous
#F2B486 #F2EA86 #C4F286
triadic
#F2EA86 #86F2EA #EA86F2
tetradic
#F2EA86 #86F2B4 #868EF2 #F286C4
square
#F2EA86 #86F2B4 #868EF2 #F286C4
split-complementary
#F2EA86 #86C4F2 #B486F2
monochromatic
#E5D619 #ECE04F #F2EA86 #F8F4BD #FCFAE3

Accessibility & contrast

On white

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

On black

16.89
#F2EA86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2EA86
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2EA86#FFFFFF#000000##000000
##F2EA861.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47E
Deuteranopia (green-blind)
#FDE98A
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea86;
/* rgb */ color: rgb(242, 234, 134);
/* oklch */ color: oklch(92.2% 0.122 104.5);
Tailwind
colors: {
  custom: {
    50: '#f8f0ab',
    500: '#f2ea86',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea86;
$custom-light: #f8f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea86",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 134
  },
  "hsl": {
    "h": 55.556,
    "s": 80.597,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92241,
    "c": 0.12236,
    "h": 104.5
  },
  "luminance": 0.79444
}

Semantic roles & 50–950 ramp

primary
#F2EA86
secondary
#4E58CE
accent
#18DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EA86

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

Preview Lab → · Contrast checker → · Palette generator →

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