#F1E257#F1E257

#F1E257 is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 90.0% C 0.157 H 103.1°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#F1E257
RGBrgb(241, 226, 87)
HSLhsl(54, 85%, 64%)
HSVhsv(54, 64%, 95%)
CMYKcmyk(0%, 6.2%, 63.9%, 5.5%)
CIE-LABlab(88.82, -10.86, 67.37)
CIE-LCHlch(88.82, 68.24, 99.15°)
OKLaboklab(89.99% -0.0356 0.1526)
OKLCHoklch(89.99% 0.157 103.1)
XYZxyz(65.1948, 73.7841, 19.8226)
Luminance0.7378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E257 #5766F1
analogous
#F19557 #F1E257 #B3F157
triadic
#F1E257 #57F1E2 #E257F1
tetradic
#F1E257 #57F195 #5766F1 #F157B3
square
#F1E257 #57F195 #5766F1 #F157B3
split-complementary
#F1E257 #57B3F1 #9557F1
monochromatic
#BEAD10 #ECD81F #F1E257 #F6EC8F #FAF6C8

Accessibility & contrast

On white

1.33
#F1E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#F1E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E257
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E257#FFFFFF#000000##000000
##F1E2571.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB45
Deuteranopia (green-blind)
#FAE25F
Tritanopia (blue-blind)
#FFD3C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f1e257;
/* rgb */ color: rgb(241, 226, 87);
/* oklch */ color: oklch(90.0% 0.157 103.1);
Tailwind
colors: {
  custom: {
    50: '#f9ea8d',
    500: '#f1e257',
    950: '#000000',
  },
}
SCSS
$custom: #f1e257;
$custom-light: #f9ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e257",
  "rgb": {
    "r": 241,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 54.156,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8999,
    "c": 0.15668,
    "h": 103.1
  },
  "luminance": 0.73782
}

Semantic roles & 50–950 ramp

primary
#F1E257
secondary
#303EBC
accent
#1AE104
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1E257

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

Preview Lab → · Contrast checker → · Palette generator →

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