#F1ED5B#F1ED5B

#F1ED5B is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.3% C 0.164 H 107.7°. Best body text is #000000 at 17.00:1 contrast (WCAG AA passes).

Color values

HEX#F1ED5B
RGBrgb(241, 237, 91)
HSLhsl(58, 84%, 65%)
HSVhsv(58, 62%, 95%)
CMYKcmyk(0%, 1.7%, 62.2%, 5.5%)
CIE-LABlab(91.70, -16.03, 68.80)
CIE-LCHlch(91.70, 70.64, 103.12°)
OKLaboklab(92.29% -0.0499 0.1562)
OKLCHoklch(92.29% 0.164 107.7)
XYZxyz(68.4504, 80.0266, 21.7365)
Luminance0.8002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1ED5B #5B5FF1
analogous
#F1A25B #F1ED5B #AAF15B
triadic
#F1ED5B #5BF1ED #ED5BF1
tetradic
#F1ED5B #5BF1A2 #5B5FF1 #F15BAA
square
#F1ED5B #5BF1A2 #5B5FF1 #F15BAA
split-complementary
#F1ED5B #5BAAF1 #A25BF1
monochromatic
#C1BC10 #ECE723 #F1ED5B #F6F393 #FBF9CC

Accessibility & contrast

On white

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

On black

17.00
#F1ED5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1ED5B
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1ED5B#FFFFFF#000000##000000
##F1ED5B1.001.2317.0017.00
#FFFFFF1.231.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1ed5b;
/* rgb */ color: rgb(241, 237, 91);
/* oklch */ color: oklch(92.3% 0.164 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f290',
    500: '#f1ed5b',
    950: '#000000',
  },
}
SCSS
$custom: #f1ed5b;
$custom-light: #f9f290;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ed5b",
  "rgb": {
    "r": 241,
    "g": 237,
    "b": 91
  },
  "hsl": {
    "h": 58.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92289,
    "c": 0.16393,
    "h": 107.7
  },
  "luminance": 0.80024
}

Semantic roles & 50–950 ramp

primary
#F1ED5B
secondary
#3135BF
accent
#0BE105
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F1ED5B

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

Preview Lab → · Contrast checker → · Palette generator →

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