#F1DF57#F1DF57

#F1DF57 is a very light, vivid yellow. Relative luminance 0.722; OKLCH L 89.4% C 0.154 H 101.8°. Best body text is #000000 at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#F1DF57
RGBrgb(241, 223, 87)
HSLhsl(53, 85%, 64%)
HSVhsv(53, 64%, 95%)
CMYKcmyk(0%, 7.5%, 63.9%, 5.5%)
CIE-LABlab(88.05, -9.36, 66.56)
CIE-LCHlch(88.05, 67.21, 98.01°)
OKLaboklab(89.38% -0.0314 0.1509)
OKLCHoklch(89.38% 0.154 101.8)
XYZxyz(64.3862, 72.1669, 19.5531)
Luminance0.7216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF57 #5769F1
analogous
#F19257 #F1DF57 #B6F157
triadic
#F1DF57 #57F1DF #DF57F1
tetradic
#F1DF57 #57F192 #5769F1 #F157B6
square
#F1DF57 #57F192 #5769F1 #F157B6
split-complementary
#F1DF57 #57B6F1 #9257F1
monochromatic
#BEA910 #ECD41F #F1DF57 #F6EA8F #FAF5C8

Accessibility & contrast

On white

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

On black

15.43
#F1DF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF57
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF57#FFFFFF#000000##000000
##F1DF571.001.3615.4315.43
#FFFFFF1.361.0021.0021.00
#00000015.4321.001.001.00
##00000015.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D946
Deuteranopia (green-blind)
#F8E05F
Tritanopia (blue-blind)
#FFD0C3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f1df57;
/* rgb */ color: rgb(241, 223, 87);
/* oklch */ color: oklch(89.4% 0.154 101.8);
Tailwind
colors: {
  custom: {
    50: '#f9e88c',
    500: '#f1df57',
    950: '#000000',
  },
}
SCSS
$custom: #f1df57;
$custom-light: #f9e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df57",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 87
  },
  "hsl": {
    "h": 52.987,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.89377,
    "c": 0.15408,
    "h": 101.8
  },
  "luminance": 0.72164
}

Semantic roles & 50–950 ramp

primary
#F1DF57
secondary
#3041BC
accent
#1EE104
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F1DF57

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

Preview Lab → · Contrast checker → · Palette generator →

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