#F1EC74#F1EC74

#F1EC74 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.3% C 0.142 H 106.7°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F1EC74
RGBrgb(241, 236, 116)
HSLhsl(58, 82%, 70%)
HSVhsv(58, 52%, 95%)
CMYKcmyk(0%, 2.1%, 51.9%, 5.5%)
CIE-LABlab(91.66, -13.78, 58.00)
CIE-LCHlch(91.66, 59.61, 103.36°)
OKLaboklab(92.34% -0.0408 0.1361)
OKLCHoklch(92.34% 0.142 106.7)
XYZxyz(69.4253, 79.9546, 28.2953)
Luminance0.7995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EC74 #7479F1
analogous
#F1AE74 #F1EC74 #B7F174
triadic
#F1EC74 #74F1EC #EC74F1
tetradic
#F1EC74 #74F1AE #7479F1 #F174B7
square
#F1EC74 #74F1AE #7479F1 #F174B7
split-complementary
#F1EC74 #74B7F1 #AE74F1
monochromatic
#D5CD15 #EBE43C #F1EC74 #F7F4AC #FCFBE3

Accessibility & contrast

On white

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

On black

16.99
#F1EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EC74
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EC74#FFFFFF#000000##000000
##F1EC741.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE469
Deuteranopia (green-blind)
#FFE97A
Tritanopia (blue-blind)
#FFDFD1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f1ec74;
/* rgb */ color: rgb(241, 236, 116);
/* oklch */ color: oklch(92.3% 0.142 106.7);
Tailwind
colors: {
  custom: {
    50: '#f8f19f',
    500: '#f1ec74',
    950: '#000000',
  },
}
SCSS
$custom: #f1ec74;
$custom-light: #f8f19f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ec74",
  "rgb": {
    "r": 241,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 57.6,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.92337,
    "c": 0.14209,
    "h": 106.7
  },
  "luminance": 0.79953
}

Semantic roles & 50–950 ramp

primary
#F1EC74
secondary
#3F44CB
accent
#10DE07
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F1EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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