#F1EC8A#F1EC8A

#F1EC8A is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.6% C 0.120 H 106.0°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#F1EC8A
RGBrgb(241, 236, 138)
HSLhsl(57, 79%, 74%)
HSVhsv(57, 43%, 95%)
CMYKcmyk(0%, 2.1%, 42.7%, 5.5%)
CIE-LABlab(91.92, -11.80, 47.97)
CIE-LCHlch(91.92, 49.40, 103.82°)
OKLaboklab(92.62% -0.0331 0.1157)
OKLCHoklch(92.62% 0.12 106)
XYZxyz(70.8599, 80.5284, 35.8506)
Luminance0.8053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EC8A #8A8FF1
analogous
#F1B98A #F1EC8A #C3F18A
triadic
#F1EC8A #8AF1EC #EC8AF1
tetradic
#F1EC8A #8AF1B9 #8A8FF1 #F18AC3
square
#F1EC8A #8AF1B9 #8A8FF1 #F18AC3
split-complementary
#F1EC8A #8AC3F1 #B98AF1
monochromatic
#E4DA1D #EAE353 #F1EC8A #F8F5C1 #FCFBE4

Accessibility & contrast

On white

1.23
#F1EC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#F1EC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EC8A
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EC8A#FFFFFF#000000##000000
##F1EC8A1.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE582
Deuteranopia (green-blind)
#FEEA8E
Tritanopia (blue-blind)
#FEE1D4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f1ec8a;
/* rgb */ color: rgb(241, 236, 138);
/* oklch */ color: oklch(92.6% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#f7f2ae',
    500: '#f1ec8a',
    950: '#000000',
  },
}
SCSS
$custom: #f1ec8a;
$custom-light: #f7f2ae;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ec8a",
  "rgb": {
    "r": 241,
    "g": 236,
    "b": 138
  },
  "hsl": {
    "h": 57.087,
    "s": 78.626,
    "l": 74.314
  },
  "oklch": {
    "l": 0.92624,
    "c": 0.12037,
    "h": 106
  },
  "luminance": 0.80527
}

Semantic roles & 50–950 ramp

primary
#F1EC8A
secondary
#5258CD
accent
#15DB0B
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#171610
muted
#858581

Preview Lab

Preview with #F1EC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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