#F1ED5A#F1ED5A

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

Color values

HEX#F1ED5A
RGBrgb(241, 237, 90)
HSLhsl(58, 84%, 65%)
HSVhsv(58, 63%, 95%)
CMYKcmyk(0%, 1.7%, 62.7%, 5.5%)
CIE-LABlab(91.69, -16.09, 69.19)
CIE-LCHlch(91.69, 71.04, 103.09°)
OKLaboklab(92.28% -0.0502 0.1568)
OKLCHoklch(92.28% 0.165 107.7)
XYZxyz(68.4076, 80.0094, 21.5108)
Luminance0.8001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1ED5A #5A5EF1
analogous
#F1A25A #F1ED5A #A9F15A
triadic
#F1ED5A #5AF1ED #ED5AF1
tetradic
#F1ED5A #5AF1A2 #5A5EF1 #F15AA9
square
#F1ED5A #5AF1A2 #5A5EF1 #F15AA9
split-complementary
#F1ED5A #5AA9F1 #A25AF1
monochromatic
#C0BC10 #ECE722 #F1ED5A #F6F392 #FBF9CB

Accessibility & contrast

On white

1.24
#F1ED5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1ED5A#FFFFFF#000000##000000
##F1ED5A1.001.2417.0017.00
#FFFFFF1.241.0021.0021.00
#00000017.0021.001.001.00
##00000017.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1ed5a;
/* rgb */ color: rgb(241, 237, 90);
/* oklch */ color: oklch(92.3% 0.165 107.7);
Tailwind
colors: {
  custom: {
    50: '#f9f28f',
    500: '#f1ed5a',
    950: '#000000',
  },
}
SCSS
$custom: #f1ed5a;
$custom-light: #f9f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1ed5a",
  "rgb": {
    "r": 241,
    "g": 237,
    "b": 90
  },
  "hsl": {
    "h": 58.411,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92281,
    "c": 0.16467,
    "h": 107.7
  },
  "luminance": 0.80007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F1ED5A

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

Preview Lab → · Contrast checker → · Palette generator →

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