#F1EF97#F1EF97

#F1EF97 is a very light, moderate yellow. Relative luminance 0.827; OKLCH L 93.4% C 0.110 H 107.2°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#F1EF97
RGBrgb(241, 239, 151)
HSLhsl(59, 76%, 77%)
HSVhsv(59, 37%, 95%)
CMYKcmyk(0%, 0.8%, 37.3%, 5.5%)
CIE-LABlab(92.87, -11.94, 42.82)
CIE-LCHlch(92.87, 44.45, 105.58°)
OKLaboklab(93.44% -0.0325 0.1048)
OKLCHoklch(93.44% 0.11 107.2)
XYZxyz(72.7290, 82.6697, 41.3978)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF97 #9799F1
analogous
#F1C297 #F1EF97 #C6F197
triadic
#F1EF97 #97F1EF #EF97F1
tetradic
#F1EF97 #97F1C2 #9799F1 #F197C6
square
#F1EF97 #97F1C2 #9799F1 #F197C6
split-complementary
#F1EF97 #97C6F1 #C297F1
monochromatic
#E2DE2B #EAE761 #F1EF97 #F8F7CD #FBFBE4

Accessibility & contrast

On white

1.20
#F1EF97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.53
#F1EF97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF97
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF97#FFFFFF#000000##000000
##F1EF971.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE890
Deuteranopia (green-blind)
#FEEC9B
Tritanopia (blue-blind)
#FDE5D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f1ef97;
/* rgb */ color: rgb(241, 239, 151);
/* oklch */ color: oklch(93.4% 0.110 107.2);
Tailwind
colors: {
  custom: {
    50: '#f7f4b6',
    500: '#f1ef97',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef97;
$custom-light: #f7f4b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef97",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 151
  },
  "hsl": {
    "h": 58.667,
    "s": 76.271,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93435,
    "c": 0.10967,
    "h": 107.2
  },
  "luminance": 0.82668
}

Semantic roles & 50–950 ramp

primary
#F1EF97
secondary
#5E61CE
accent
#12D80D
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F1EF97

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

Preview Lab → · Contrast checker → · Palette generator →

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