#F1EF5F#F1EF5F

#F1EF5F is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.7% C 0.163 H 108.4°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#F1EF5F
RGBrgb(241, 239, 95)
HSLhsl(59, 84%, 66%)
HSVhsv(59, 61%, 95%)
CMYKcmyk(0%, 0.8%, 60.6%, 5.5%)
CIE-LABlab(92.25, -16.76, 67.76)
CIE-LCHlch(92.25, 69.80, 103.89°)
OKLaboklab(92.74% -0.0515 0.1545)
OKLCHoklch(92.74% 0.163 108.4)
XYZxyz(69.2099, 81.2620, 22.8636)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1EF5F #5F61F1
analogous
#F1A65F #F1EF5F #AAF15F
triadic
#F1EF5F #5FF1EF #EF5FF1
tetradic
#F1EF5F #5FF1A6 #5F61F1 #F15FAA
square
#F1EF5F #5FF1A6 #5F61F1 #F15FAA
split-complementary
#F1EF5F #5FAAF1 #A65FF1
monochromatic
#C4C211 #ECE927 #F1EF5F #F6F597 #FBFAD0

Accessibility & contrast

On white

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

On black

17.25
#F1EF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1EF5F
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1EF5F#FFFFFF#000000##000000
##F1EF5F1.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE64E
Deuteranopia (green-blind)
#FFEB68
Tritanopia (blue-blind)
#FFE1D1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f1ef5f;
/* rgb */ color: rgb(241, 239, 95);
/* oklch */ color: oklch(92.7% 0.163 108.4);
Tailwind
colors: {
  custom: {
    50: '#f9f492',
    500: '#f1ef5f',
    950: '#000000',
  },
}
SCSS
$custom: #f1ef5f;
$custom-light: #f9f492;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ef5f",
  "rgb": {
    "r": 241,
    "g": 239,
    "b": 95
  },
  "hsl": {
    "h": 59.178,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92739,
    "c": 0.16288,
    "h": 108.4
  },
  "luminance": 0.8126
}

Semantic roles & 50–950 ramp

primary
#F1EF5F
secondary
#3234C2
accent
#08E005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1EF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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