#F2EA87#F2EA87

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

Color values

HEX#F2EA87
RGBrgb(242, 234, 135)
HSLhsl(56, 80%, 74%)
HSVhsv(56, 44%, 95%)
CMYKcmyk(0%, 3.3%, 44.2%, 5.1%)
CIE-LABlab(91.45, -10.71, 48.84)
CIE-LCHlch(91.45, 50.01, 102.37°)
OKLaboklab(92.26% -0.0303 0.1175)
OKLCHoklch(92.26% 0.121 104.5)
XYZxyz(70.4155, 79.4741, 34.5477)
Luminance0.7947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2EA87 #878FF2
analogous
#F2B587 #F2EA87 #C5F287
triadic
#F2EA87 #87F2EA #EA87F2
tetradic
#F2EA87 #87F2B5 #878FF2 #F287C5
square
#F2EA87 #87F2B5 #878FF2 #F287C5
split-complementary
#F2EA87 #87C5F2 #B587F2
monochromatic
#E6D619 #ECE050 #F2EA87 #F8F4BE #FCFAE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2EA87#FFFFFF#000000##000000
##F2EA871.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)
#F9E47F
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f2ea87;
/* rgb */ color: rgb(242, 234, 135);
/* oklch */ color: oklch(92.3% 0.121 104.5);
Tailwind
colors: {
  custom: {
    50: '#f8f0ab',
    500: '#f2ea87',
    950: '#000000',
  },
}
SCSS
$custom: #f2ea87;
$custom-light: #f8f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ea87",
  "rgb": {
    "r": 242,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 55.514,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.92255,
    "c": 0.12133,
    "h": 104.5
  },
  "luminance": 0.79472
}

Semantic roles & 50–950 ramp

primary
#F2EA87
secondary
#4F59CE
accent
#19DD09
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F2EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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