#F1ED5F#F1ED5F

#F1ED5F is a very light, vivid yellow. Relative luminance 0.801; OKLCH L 92.3% C 0.161 H 107.6°. Best body text is #000000 at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#F1ED5F
RGBrgb(241, 237, 95)
HSLhsl(58, 84%, 66%)
HSVhsv(58, 61%, 95%)
CMYKcmyk(0%, 1.7%, 60.6%, 5.5%)
CIE-LABlab(91.73, -15.78, 67.20)
CIE-LCHlch(91.73, 69.03, 103.22°)
OKLaboklab(92.33% -0.0488 0.1533)
OKLCHoklch(92.33% 0.161 107.6)
XYZxyz(68.6276, 80.0974, 22.6695)
Luminance0.8010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1ED5F #5F63F1
analogous
#F1A45F #F1ED5F #ACF15F
triadic
#F1ED5F #5FF1ED #ED5FF1
tetradic
#F1ED5F #5FF1A4 #5F63F1 #F15FAC
square
#F1ED5F #5FF1A4 #5F63F1 #F15FAC
split-complementary
#F1ED5F #5FACF1 #A45FF1
monochromatic
#C4C011 #ECE727 #F1ED5F #F6F397 #FBFAD0

Accessibility & contrast

On white

1.23
#F1ED5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.02
#F1ED5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1ED5F
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1ED5F#FFFFFF#000000##000000
##F1ED5F1.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE44E
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#FFDFCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f1ed5f;
/* rgb */ color: rgb(241, 237, 95);
/* oklch */ color: oklch(92.3% 0.161 107.6);
Tailwind
colors: {
  custom: {
    50: '#f9f292',
    500: '#f1ed5f',
    950: '#000000',
  },
}
SCSS
$custom: #f1ed5f;
$custom-light: #f9f292;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ed5f",
  "rgb": {
    "r": 241,
    "g": 237,
    "b": 95
  },
  "hsl": {
    "h": 58.356,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.92325,
    "c": 0.16091,
    "h": 107.6
  },
  "luminance": 0.80095
}

Semantic roles & 50–950 ramp

primary
#F1ED5F
secondary
#3236C2
accent
#0BE005
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1ED5F

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

Preview Lab → · Contrast checker → · Palette generator →

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