#F1E17A#F1E17A

#F1E17A is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 90.2% C 0.126 H 100.6°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#F1E17A
RGBrgb(241, 225, 122)
HSLhsl(52, 81%, 71%)
HSVhsv(52, 49%, 95%)
CMYKcmyk(0%, 6.6%, 49.4%, 5.5%)
CIE-LABlab(88.90, -7.81, 51.94)
CIE-LCHlch(88.90, 52.52, 98.55°)
OKLaboklab(90.17% -0.0231 0.1234)
OKLCHoklch(90.17% 0.126 100.6)
XYZxyz(66.7156, 73.9587, 29.1697)
Luminance0.7396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E17A #7A8AF1
analogous
#F1A57A #F1E17A #C5F17A
triadic
#F1E17A #7AF1E1 #E17AF1
tetradic
#F1E17A #7AF1A5 #7A8AF1 #F17AC5
square
#F1E17A #7AF1A5 #7A8AF1 #F17AC5
split-complementary
#F1E17A #7AC5F1 #A57AF1
monochromatic
#DABF17 #EBD543 #F1E17A #F7EDB1 #FCF9E3

Accessibility & contrast

On white

1.33
#F1E17A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#F1E17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E17A
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E17A#FFFFFF#000000##000000
##F1E17A1.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DC71
Deuteranopia (green-blind)
#F7E27F
Tritanopia (blue-blind)
#FFD4C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #f1e17a;
/* rgb */ color: rgb(241, 225, 122);
/* oklch */ color: oklch(90.2% 0.126 100.6);
Tailwind
colors: {
  custom: {
    50: '#f8eaa3',
    500: '#f1e17a',
    950: '#000000',
  },
}
SCSS
$custom: #f1e17a;
$custom-light: #f8eaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e17a",
  "rgb": {
    "r": 241,
    "g": 225,
    "b": 122
  },
  "hsl": {
    "h": 51.933,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.90165,
    "c": 0.12556,
    "h": 100.6
  },
  "luminance": 0.73956
}

Semantic roles & 50–950 ramp

primary
#F1E17A
secondary
#4456CB
accent
#25DD08
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #F1E17A

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

Preview Lab → · Contrast checker → · Palette generator →

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