#F1EC6B#F1EC6B

#F1EC6B is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.2% C 0.150 H 107.0°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#F1EC6B
RGBrgb(241, 236, 107)
HSLhsl(58, 83%, 68%)
HSVhsv(58, 56%, 95%)
CMYKcmyk(0%, 2.1%, 55.6%, 5.5%)
CIE-LABlab(91.57, -14.47, 61.92)
CIE-LCHlch(91.57, 63.59, 103.15°)
OKLaboklab(92.24% -0.0438 0.1436)
OKLCHoklch(92.24% 0.15 107)
XYZxyz(68.9270, 79.7552, 25.6705)
Luminance0.7975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EC6B #6B70F1
analogous
#F1A96B #F1EC6B #B3F16B
triadic
#F1EC6B #6BF1EC #EC6BF1
tetradic
#F1EC6B #6BF1A9 #6B70F1 #F16BB3
square
#F1EC6B #6BF1A9 #6B70F1 #F16BB3
split-complementary
#F1EC6B #6BB3F1 #A96BF1
monochromatic
#CEC713 #ECE533 #F1EC6B #F6F3A3 #FCFADB

Accessibility & contrast

On white

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

On black

16.95
#F1EC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EC6B
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EC6B#FFFFFF#000000##000000
##F1EC6B1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE45E
Deuteranopia (green-blind)
#FFE972
Tritanopia (blue-blind)
#FFDED0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f1ec6b;
/* rgb */ color: rgb(241, 236, 107);
/* oklch */ color: oklch(92.2% 0.150 107.0);
Tailwind
colors: {
  custom: {
    50: '#f8f199',
    500: '#f1ec6b',
    950: '#000000',
  },
}
SCSS
$custom: #f1ec6b;
$custom-light: #f8f199;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ec6b",
  "rgb": {
    "r": 241,
    "g": 236,
    "b": 107
  },
  "hsl": {
    "h": 57.761,
    "s": 82.716,
    "l": 68.235
  },
  "oklch": {
    "l": 0.92236,
    "c": 0.15011,
    "h": 107
  },
  "luminance": 0.79753
}

Semantic roles & 50–950 ramp

primary
#F1EC6B
secondary
#373CCA
accent
#0EDF06
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F1EC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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