#F1EA87#F1EA87

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

Color values

HEX#F1EA87
RGBrgb(241, 234, 135)
HSLhsl(56, 79%, 74%)
HSVhsv(56, 44%, 95%)
CMYKcmyk(0%, 2.9%, 44%, 5.5%)
CIE-LABlab(91.37, -11.11, 48.73)
CIE-LCHlch(91.37, 49.98, 102.84°)
OKLaboklab(92.17% -0.0314 0.1172)
OKLCHoklch(92.17% 0.121 105)
XYZxyz(70.0731, 79.2976, 34.5317)
Luminance0.7930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EA87 #878EF1
analogous
#F1B587 #F1EA87 #C3F187
triadic
#F1EA87 #87F1EA #EA87F1
tetradic
#F1EA87 #87F1B5 #878EF1 #F187C3
square
#F1EA87 #87F1B5 #878EF1 #F187C3
split-complementary
#F1EA87 #87C3F1 #B587F1
monochromatic
#E3D61A #EBE050 #F1EA87 #F7F4BE #FCFAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1EA87#FFFFFF#000000##000000
##F1EA871.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)
#F9E37F
Deuteranopia (green-blind)
#FCE98B
Tritanopia (blue-blind)
#FFDED2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f1ea87;
/* rgb */ color: rgb(241, 234, 135);
/* oklch */ color: oklch(92.2% 0.121 105.0);
Tailwind
colors: {
  custom: {
    50: '#f7f0ab',
    500: '#f1ea87',
    950: '#000000',
  },
}
SCSS
$custom: #f1ea87;
$custom-light: #f7f0ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ea87",
  "rgb": {
    "r": 241,
    "g": 234,
    "b": 135
  },
  "hsl": {
    "h": 56.038,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92173,
    "c": 0.12136,
    "h": 105
  },
  "luminance": 0.79296
}

Semantic roles & 50–950 ramp

primary
#F1EA87
secondary
#5058CD
accent
#18DB0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F1EA87

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

Preview Lab → · Contrast checker → · Palette generator →

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