#F1E87F#F1E87F

#F1E87F is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.127 H 104.3°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F1E87F
RGBrgb(241, 232, 127)
HSLhsl(55, 80%, 72%)
HSVhsv(55, 47%, 95%)
CMYKcmyk(0%, 3.7%, 47.3%, 5.5%)
CIE-LABlab(90.76, -10.86, 51.80)
CIE-LCHlch(90.76, 52.93, 101.84°)
OKLaboklab(91.65% -0.0314 0.1235)
OKLCHoklch(91.65% 0.127 104.3)
XYZxyz(68.9647, 77.9483, 31.4873)
Luminance0.7795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E87F #7F88F1
analogous
#F1AF7F #F1E87F #C1F17F
triadic
#F1E87F #7FF1E8 #E87FF1
tetradic
#F1E87F #7FF1AF #7F88F1 #F17FC1
square
#F1E87F #7FF1AF #7F88F1 #F17FC1
split-complementary
#F1E87F #7FC1F1 #AF7FF1
monochromatic
#DDCE18 #EBDE48 #F1E87F #F7F2B6 #FCFAE3

Accessibility & contrast

On white

1.27
#F1E87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F1E87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E87F
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E87F#FFFFFF#000000##000000
##F1E87F1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E176
Deuteranopia (green-blind)
#FCE784
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f1e87f;
/* rgb */ color: rgb(241, 232, 127);
/* oklch */ color: oklch(91.7% 0.127 104.3);
Tailwind
colors: {
  custom: {
    50: '#f8efa6',
    500: '#f1e87f',
    950: '#000000',
  },
}
SCSS
$custom: #f1e87f;
$custom-light: #f8efa6;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e87f",
  "rgb": {
    "r": 241,
    "g": 232,
    "b": 127
  },
  "hsl": {
    "h": 55.263,
    "s": 80.282,
    "l": 72.157
  },
  "oklch": {
    "l": 0.91654,
    "c": 0.12744,
    "h": 104.3
  },
  "luminance": 0.77946
}

Semantic roles & 50–950 ramp

primary
#F1E87F
secondary
#4853CC
accent
#1ADD09
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #F1E87F

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

Preview Lab → · Contrast checker → · Palette generator →

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