#F1F958#F1F958

#F1F958 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.8% C 0.178 H 112.1°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F1F958
RGBrgb(241, 249, 88)
HSLhsl(63, 93%, 66%)
HSVhsv(63, 65%, 98%)
CMYKcmyk(3.2%, 0%, 64.7%, 2.4%)
CIE-LABlab(94.81, -22.00, 73.21)
CIE-LCHlch(94.81, 76.45, 106.72°)
OKLaboklab(94.77% -0.067 0.165)
OKLCHoklch(94.77% 0.178 112.1)
XYZxyz(71.9148, 87.1584, 22.2656)
Luminance0.8716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F958 #6058F9
analogous
#F9B058 #F1F958 #A0F958
triadic
#F1F958 #58F1F9 #F958F1
tetradic
#F1F958 #58F9B0 #6058F9 #F958A0
square
#F1F958 #58F9B0 #6058F9 #F958A0
split-complementary
#F1F958 #58A0F9 #B058F9
monochromatic
#C5CF07 #ECF71D #F1F958 #F6FB93 #FBFDCE

Accessibility & contrast

On white

1.14
#F1F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.43
#F1F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F958
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F958#FFFFFF#000000##000000
##F1F9581.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE41
Deuteranopia (green-blind)
#FFF263
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f1f958;
/* rgb */ color: rgb(241, 249, 88);
/* oklch */ color: oklch(94.8% 0.178 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb8f',
    500: '#f1f958',
    950: '#000000',
  },
}
SCSS
$custom: #f1f958;
$custom-light: #f9fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f958",
  "rgb": {
    "r": 241,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 62.981,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94765,
    "c": 0.17811,
    "h": 112.1
  },
  "luminance": 0.87157
}

Semantic roles & 50–950 ramp

primary
#F1F958
secondary
#332BCA
accent
#00E60B
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1F958

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

Preview Lab → · Contrast checker → · Palette generator →

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