#F1DF5F#F1DF5F

#F1DF5F is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.5% C 0.148 H 101.3°. Best body text is #000000 at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#F1DF5F
RGBrgb(241, 223, 95)
HSLhsl(53, 84%, 66%)
HSVhsv(53, 61%, 95%)
CMYKcmyk(0%, 7.5%, 60.6%, 5.5%)
CIE-LABlab(88.12, -8.86, 63.28)
CIE-LCHlch(88.12, 63.90, 97.97°)
OKLaboklab(89.45% -0.0291 0.145)
OKLCHoklch(89.45% 0.148 101.3)
XYZxyz(64.7313, 72.3049, 21.3708)
Luminance0.7230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF5F #5F71F1
analogous
#F1965F #F1DF5F #BAF15F
triadic
#F1DF5F #5FF1DF #DF5FF1
tetradic
#F1DF5F #5FF196 #5F71F1 #F15FBA
square
#F1DF5F #5FF196 #5F71F1 #F15FBA
split-complementary
#F1DF5F #5FBAF1 #965FF1
monochromatic
#C4AE11 #ECD427 #F1DF5F #F6EA97 #FBF6D0

Accessibility & contrast

On white

1.36
#F1DF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.46
#F1DF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF5F
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF5F#FFFFFF#000000##000000
##F1DF5F1.001.3615.4615.46
#FFFFFF1.361.0021.0021.00
#00000015.4621.001.001.00
##00000015.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D951
Deuteranopia (green-blind)
#F7E066
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f1df5f;
/* rgb */ color: rgb(241, 223, 95);
/* oklch */ color: oklch(89.5% 0.148 101.3);
Tailwind
colors: {
  custom: {
    50: '#f9e891',
    500: '#f1df5f',
    950: '#000000',
  },
}
SCSS
$custom: #f1df5f;
$custom-light: #f9e891;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df5f",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 95
  },
  "hsl": {
    "h": 52.603,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.89451,
    "c": 0.1479,
    "h": 101.3
  },
  "luminance": 0.72302
}

Semantic roles & 50–950 ramp

primary
#F1DF5F
secondary
#3244C2
accent
#20E005
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1DF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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