#F1EF5A#F1EF5A

#F1EF5A is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.7% C 0.167 H 108.5°. Best body text is #000000 at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#F1EF5A
RGBrgb(241, 239, 90)
HSLhsl(59, 84%, 65%)
HSVhsv(59, 63%, 95%)
CMYKcmyk(0%, 0.8%, 62.7%, 5.5%)
CIE-LABlab(92.21, -17.07, 69.74)
CIE-LCHlch(92.21, 71.79, 103.75°)
OKLaboklab(92.7% -0.0529 0.158)
OKLCHoklch(92.7% 0.167 108.5)
XYZxyz(68.9899, 81.1740, 21.7049)
Luminance0.8117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF5A #5A5CF1
analogous
#F1A35A #F1EF5A #A8F15A
triadic
#F1EF5A #5AF1EF #EF5AF1
tetradic
#F1EF5A #5AF1A3 #5A5CF1 #F15AA8
square
#F1EF5A #5AF1A3 #5A5CF1 #F15AA8
split-complementary
#F1EF5A #5AA8F1 #A35AF1
monochromatic
#C0BE10 #ECEA22 #F1EF5A #F6F492 #FBFACB

Accessibility & contrast

On white

1.22
#F1EF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.23
#F1EF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF5A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF5A#FFFFFF#000000##000000
##F1EF5A1.001.2217.2317.23
#FFFFFF1.221.0021.0021.00
#00000017.2321.001.001.00
##00000017.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE647
Deuteranopia (green-blind)
#FFEB63
Tritanopia (blue-blind)
#FFE1D0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f1ef5a;
/* rgb */ color: rgb(241, 239, 90);
/* oklch */ color: oklch(92.7% 0.167 108.5);
Tailwind
colors: {
  custom: {
    50: '#f9f48f',
    500: '#f1ef5a',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef5a;
$custom-light: #f9f48f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef5a",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 90
  },
  "hsl": {
    "h": 59.205,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92695,
    "c": 0.16662,
    "h": 108.5
  },
  "luminance": 0.81172
}

Semantic roles & 50–950 ramp

primary
#F1EF5A
secondary
#3133BE
accent
#08E105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1EF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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