#F1EF5C#F1EF5C

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

Color values

HEX#F1EF5C
RGBrgb(241, 239, 92)
HSLhsl(59, 84%, 65%)
HSVhsv(59, 62%, 95%)
CMYKcmyk(0%, 0.8%, 61.8%, 5.5%)
CIE-LABlab(92.22, -16.95, 68.95)
CIE-LCHlch(92.22, 71.00, 103.81°)
OKLaboklab(92.71% -0.0524 0.1566)
OKLCHoklch(92.71% 0.165 108.5)
XYZxyz(69.0761, 81.2085, 22.1592)
Luminance0.8121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF5C #5C5EF1
analogous
#F1A55C #F1EF5C #A8F15C
triadic
#F1EF5C #5CF1EF #EF5CF1
tetradic
#F1EF5C #5CF1A5 #5C5EF1 #F15CA8
square
#F1EF5C #5CF1A5 #5C5EF1 #F15CA8
split-complementary
#F1EF5C #5CA8F1 #A55CF1
monochromatic
#C2C011 #ECE924 #F1EF5C #F6F594 #FBFACD

Accessibility & contrast

On white

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

On black

17.24
#F1EF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF5C
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF5C#FFFFFF#000000##000000
##F1EF5C1.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1ef5c;
/* rgb */ color: rgb(241, 239, 92);
/* oklch */ color: oklch(92.7% 0.165 108.5);
Tailwind
colors: {
  custom: {
    50: '#f9f490',
    500: '#f1ef5c',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef5c;
$custom-light: #f9f490;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef5c",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 59.195,
    "s": 84.181,
    "l": 65.294
  },
  "oklch": {
    "l": 0.92713,
    "c": 0.16515,
    "h": 108.5
  },
  "luminance": 0.81206
}

Semantic roles & 50–950 ramp

primary
#F1EF5C
secondary
#3233C0
accent
#08E105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1EF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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