#F1F378#F1F378

#F1F378 is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.8% C 0.146 H 109.7°. Best body text is #000000 at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#F1F378
RGBrgb(241, 243, 120)
HSLhsl(61, 84%, 71%)
HSVhsv(61, 51%, 95%)
CMYKcmyk(0.8%, 0%, 50.6%, 4.7%)
CIE-LABlab(93.52, -16.87, 58.35)
CIE-LCHlch(93.52, 60.74, 106.13°)
OKLaboklab(93.83% -0.0493 0.1372)
OKLCHoklch(93.83% 0.146 109.7)
XYZxyz(71.7180, 84.1597, 30.2322)
Luminance0.8416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F378 #7A78F3
analogous
#F3B778 #F1F378 #B3F378
triadic
#F1F378 #78F1F3 #F378F1
tetradic
#F1F378 #78F3B7 #7A78F3 #F378B3
square
#F1F378 #78F3B7 #7A78F3 #F378B3
split-complementary
#F1F378 #78B3F3 #B778F3
monochromatic
#DADD14 #EBEE40 #F1F378 #F7F8B0 #FCFDE3

Accessibility & contrast

On white

1.18
#F1F378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.83
#F1F378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F378
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F378#FFFFFF#000000##000000
##F1F3781.001.1817.8317.83
#FFFFFF1.181.0021.0021.00
#00000017.8321.001.001.00
##00000017.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA6C
Deuteranopia (green-blind)
#FFEE7E
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f1f378;
/* rgb */ color: rgb(241, 243, 120);
/* oklch */ color: oklch(93.8% 0.146 109.7);
Tailwind
colors: {
  custom: {
    50: '#f8f6a2',
    500: '#f1f378',
    950: '#000000',
  },
}
SCSS
$custom: #f1f378;
$custom-light: #f8f6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f378",
  "rgb": {
    "r": 241,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 60.976,
    "s": 83.673,
    "l": 71.176
  },
  "oklch": {
    "l": 0.93828,
    "c": 0.14581,
    "h": 109.7
  },
  "luminance": 0.84158
}

Semantic roles & 50–950 ramp

primary
#F1F378
secondary
#4442CE
accent
#05E009
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F378

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

Preview Lab → · Contrast checker → · Palette generator →

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