#F1EA97#F1EA97

#F1EA97 is a very light, moderate yellow. Relative luminance 0.798; OKLCH L 92.4% C 0.104 H 104.1°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F1EA97
RGBrgb(241, 234, 151)
HSLhsl(55, 76%, 77%)
HSVhsv(55, 37%, 95%)
CMYKcmyk(0%, 2.9%, 37.3%, 5.5%)
CIE-LABlab(91.59, -9.46, 41.17)
CIE-LCHlch(91.59, 42.24, 102.94°)
OKLaboklab(92.42% -0.0253 0.101)
OKLCHoklch(92.42% 0.104 104.1)
XYZxyz(71.2854, 79.7825, 40.9166)
Luminance0.7978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EA97 #979EF1
analogous
#F1BD97 #F1EA97 #CBF197
triadic
#F1EA97 #97F1EA #EA97F1
tetradic
#F1EA97 #97F1BD #979EF1 #F197CB
square
#F1EA97 #97F1BD #979EF1 #F197CB
split-complementary
#F1EA97 #97CBF1 #BD97F1
monochromatic
#E2D42B #EADF61 #F1EA97 #F8F5CD #FBFAE4

Accessibility & contrast

On white

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

On black

16.96
#F1EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EA97
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EA97#FFFFFF#000000##000000
##F1EA971.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E491
Deuteranopia (green-blind)
#FBE99A
Tritanopia (blue-blind)
#FDE0D5
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f1ea97;
/* rgb */ color: rgb(241, 234, 151);
/* oklch */ color: oklch(92.4% 0.104 104.1);
Tailwind
colors: {
  custom: {
    50: '#f7f0b6',
    500: '#f1ea97',
    950: '#000000',
  },
}
SCSS
$custom: #f1ea97;
$custom-light: #f7f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ea97",
  "rgb": {
    "r": 241,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 55.333,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.92417,
    "c": 0.1041,
    "h": 104.1
  },
  "luminance": 0.79781
}

Semantic roles & 50–950 ramp

primary
#F1EA97
secondary
#5E67CE
accent
#1DD80D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F1EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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