#F1DE5B#F1DE5B

#F1DE5B is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.2% C 0.150 H 101.1°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#F1DE5B
RGBrgb(241, 222, 91)
HSLhsl(52, 84%, 65%)
HSVhsv(52, 62%, 95%)
CMYKcmyk(0%, 7.9%, 62.2%, 5.5%)
CIE-LABlab(87.82, -8.62, 64.66)
CIE-LCHlch(87.82, 65.23, 97.59°)
OKLaboklab(89.21% -0.0288 0.1474)
OKLCHoklch(89.21% 0.15 101.1)
XYZxyz(64.2878, 71.7013, 20.3489)
Luminance0.7170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DE5B #5B6EF1
analogous
#F1935B #F1DE5B #B9F15B
triadic
#F1DE5B #5BF1DE #DE5BF1
tetradic
#F1DE5B #5BF193 #5B6EF1 #F15BB9
square
#F1DE5B #5BF193 #5B6EF1 #F15BB9
split-complementary
#F1DE5B #5BB9F1 #935BF1
monochromatic
#C1AB10 #ECD323 #F1DE5B #F6E993 #FBF5CC

Accessibility & contrast

On white

1.37
#F1DE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#F1DE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DE5B
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DE5B#FFFFFF#000000##000000
##F1DE5B1.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D84C
Deuteranopia (green-blind)
#F7E062
Tritanopia (blue-blind)
#FFCFC2
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f1de5b;
/* rgb */ color: rgb(241, 222, 91);
/* oklch */ color: oklch(89.2% 0.150 101.1);
Tailwind
colors: {
  custom: {
    50: '#f9e88f',
    500: '#f1de5b',
    950: '#000000',
  },
}
SCSS
$custom: #f1de5b;
$custom-light: #f9e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1de5b",
  "rgb": {
    "r": 241,
    "g": 222,
    "b": 91
  },
  "hsl": {
    "h": 52.4,
    "s": 84.27,
    "l": 65.098
  },
  "oklch": {
    "l": 0.89209,
    "c": 0.15019,
    "h": 101.1
  },
  "luminance": 0.71699
}

Semantic roles & 50–950 ramp

primary
#F1DE5B
secondary
#3143BF
accent
#21E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1DE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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