#F1EB87#F1EB87

#F1EB87 is a very light, vivid yellow. Relative luminance 0.799; OKLCH L 92.4% C 0.122 H 105.5°. Best body text is #000000 at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#F1EB87
RGBrgb(241, 235, 135)
HSLhsl(57, 79%, 74%)
HSVhsv(57, 44%, 95%)
CMYKcmyk(0%, 2.5%, 44%, 5.5%)
CIE-LABlab(91.63, -11.60, 49.05)
CIE-LCHlch(91.63, 50.40, 103.31°)
OKLaboklab(92.38% -0.0328 0.118)
OKLCHoklch(92.38% 0.122 105.5)
XYZxyz(70.3586, 79.8685, 34.6268)
Luminance0.7987 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EB87 #878DF1
analogous
#F1B687 #F1EB87 #C2F187
triadic
#F1EB87 #87F1EB #EB87F1
tetradic
#F1EB87 #87F1B6 #878DF1 #F187C2
square
#F1EB87 #87F1B6 #878DF1 #F187C2
split-complementary
#F1EB87 #87C2F1 #B687F1
monochromatic
#E3D81A #EBE250 #F1EB87 #F7F4BE #FCFAE4

Accessibility & contrast

On white

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

On black

16.97
#F1EB87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EB87
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EB87#FFFFFF#000000##000000
##F1EB871.001.2416.9716.97
#FFFFFF1.241.0021.0021.00
#00000016.9721.001.001.00
##00000016.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE47F
Deuteranopia (green-blind)
#FDE98B
Tritanopia (blue-blind)
#FFDFD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f1eb87;
/* rgb */ color: rgb(241, 235, 135);
/* oklch */ color: oklch(92.4% 0.122 105.5);
Tailwind
colors: {
  custom: {
    50: '#f7f1ac',
    500: '#f1eb87',
    950: '#000000',
  },
}
SCSS
$custom: #f1eb87;
$custom-light: #f7f1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f1eb87",
  "rgb": {
    "r": 241,
    "g": 235,
    "b": 135
  },
  "hsl": {
    "h": 56.604,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.92377,
    "c": 0.12242,
    "h": 105.5
  },
  "luminance": 0.79867
}

Semantic roles & 50–950 ramp

primary
#F1EB87
secondary
#5057CD
accent
#16DB0A
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F1EB87

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

Preview Lab → · Contrast checker → · Palette generator →

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