#F1EC5B#F1EC5B

#F1EC5B is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.1% C 0.163 H 107.3°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F1EC5B
RGBrgb(241, 236, 91)
HSLhsl(58, 84%, 65%)
HSVhsv(58, 62%, 95%)
CMYKcmyk(0%, 2.1%, 62.2%, 5.5%)
CIE-LABlab(91.44, -15.55, 68.52)
CIE-LCHlch(91.44, 70.26, 102.78°)
OKLaboklab(92.08% -0.0485 0.1556)
OKLCHoklch(92.08% 0.163 107.3)
XYZxyz(68.1617, 79.4491, 21.6402)
Luminance0.7945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EC5B #5B60F1
analogous
#F1A15B #F1EC5B #ABF15B
triadic
#F1EC5B #5BF1EC #EC5BF1
tetradic
#F1EC5B #5BF1A1 #5B60F1 #F15BAB
square
#F1EC5B #5BF1A1 #5B60F1 #F15BAB
split-complementary
#F1EC5B #5BABF1 #A15BF1
monochromatic
#C1BB10 #ECE523 #F1EC5B #F6F393 #FBF9CC

Accessibility & contrast

On white

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

On black

16.89
#F1EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EC5B
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EC5B#FFFFFF#000000##000000
##F1EC5B1.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE349
Deuteranopia (green-blind)
#FFE964
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f1ec5b;
/* rgb */ color: rgb(241, 236, 91);
/* oklch */ color: oklch(92.1% 0.163 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f190',
    500: '#f1ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #f1ec5b;
$custom-light: #f9f190;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ec5b",
  "rgb": {
    "r": 241,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 58,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92082,
    "c": 0.16295,
    "h": 107.3
  },
  "luminance": 0.79447
}

Semantic roles & 50–950 ramp

primary
#F1EC5B
secondary
#3136BF
accent
#0CE105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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