#F1EC5E#F1EC5E

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

Color values

HEX#F1EC5E
RGBrgb(241, 236, 94)
HSLhsl(58, 84%, 66%)
HSVhsv(58, 61%, 95%)
CMYKcmyk(0%, 2.1%, 61%, 5.5%)
CIE-LABlab(91.46, -15.36, 67.32)
CIE-LCHlch(91.46, 69.05, 102.85°)
OKLaboklab(92.11% -0.0477 0.1535)
OKLCHoklch(92.11% 0.161 107.3)
XYZxyz(68.2937, 79.5020, 22.3355)
Luminance0.7950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EC5E #5E63F1
analogous
#F1A25E #F1EC5E #ACF15E
triadic
#F1EC5E #5EF1EC #EC5EF1
tetradic
#F1EC5E #5EF1A2 #5E63F1 #F15EAC
square
#F1EC5E #5EF1A2 #5E63F1 #F15EAC
split-complementary
#F1EC5E #5EACF1 #A25EF1
monochromatic
#C4BE11 #ECE526 #F1EC5E #F6F396 #FBF9CF

Accessibility & contrast

On white

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

On black

16.90
#F1EC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EC5E
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EC5E#FFFFFF#000000##000000
##F1EC5E1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1ec5e;
/* rgb */ color: rgb(241, 236, 94);
/* oklch */ color: oklch(92.1% 0.161 107.3);
Tailwind
colors: {
  custom: {
    50: '#f9f191',
    500: '#f1ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #f1ec5e;
$custom-light: #f9f191;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ec5e",
  "rgb": {
    "r": 241,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 57.959,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92109,
    "c": 0.16069,
    "h": 107.3
  },
  "luminance": 0.795
}

Semantic roles & 50–950 ramp

primary
#F1EC5E
secondary
#3237C1
accent
#0DE005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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