#FFF291#FFF291

#FFF291 is a very light, moderate yellow. Relative luminance 0.868; OKLCH L 95.1% C 0.119 H 101.7°. Best body text is #000000 at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#FFF291
RGBrgb(255, 242, 145)
HSLhsl(53, 100%, 78%)
HSVhsv(53, 43%, 100%)
CMYKcmyk(0%, 5.1%, 43.1%, 0%)
CIE-LABlab(94.66, -8.65, 48.24)
CIE-LCHlch(94.66, 49.01, 100.16°)
OKLaboklab(95.1% -0.0241 0.1166)
OKLCHoklch(95.1% 0.119 101.7)
XYZxyz(78.1047, 86.8109, 39.4245)
Luminance0.8681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF291 #919EFF
analogous
#FFBB91 #FFF291 #D5FF91
triadic
#FFF291 #91FFF2 #F291FF
tetradic
#FFF291 #91FFBB #919EFF #FF91D5
square
#FFF291 #91FFBB #919EFF #FF91D5
split-complementary
#FFF291 #91D5FF #BB91FF
monochromatic
#FFE417 #FFEB54 #FFF291 #FFF9CE #FFFBE0

Accessibility & contrast

On white

1.14
#FFF291 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.36
#FFF291 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF291
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF291#FFFFFF#000000##000000
##FFF2911.001.1418.3618.36
#FFFFFF1.141.0021.0021.00
#00000018.3621.001.001.00
##00000018.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC89
Deuteranopia (green-blind)
#FFF295
Tritanopia (blue-blind)
#FFE6DA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff291;
/* rgb */ color: rgb(255, 242, 145);
/* oklch */ color: oklch(95.1% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#fff6b3',
    500: '#fff291',
    950: '#000000',
  },
}
SCSS
$custom: #fff291;
$custom-light: #fff6b3;
$custom-dark: #000000;
JSON
{
  "hex": "#fff291",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 145
  },
  "hsl": {
    "h": 52.909,
    "s": 100,
    "l": 78.431
  },
  "oklch": {
    "l": 0.95095,
    "c": 0.11907,
    "h": 101.7
  },
  "luminance": 0.86809
}

Semantic roles & 50–950 ramp

primary
#FFF291
secondary
#5364E1
accent
#1BE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF291

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

Preview Lab → · Contrast checker → · Palette generator →

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