#FFF24A#FFF24A

#FFF24A is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.4% C 0.178 H 104.9°. Best body text is #000000 at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#FFF24A
RGBrgb(255, 242, 74)
HSLhsl(56, 100%, 65%)
HSVhsv(56, 71%, 100%)
CMYKcmyk(0%, 5.1%, 71%, 0%)
CIE-LABlab(94.00, -13.67, 77.84)
CIE-LCHlch(94.00, 79.03, 99.96°)
OKLaboklab(94.36% -0.0457 0.1721)
OKLCHoklch(94.36% 0.178 104.9)
XYZxyz(74.2313, 85.2615, 19.0242)
Luminance0.8526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF24A #4A57FF
analogous
#FF984A #FFF24A #B1FF4A
triadic
#FFF24A #4AFFF2 #F24AFF
tetradic
#FFF24A #4AFF98 #4A57FF #FF4AB1
square
#FFF24A #4AFF98 #4A57FF #FF4AB1
split-complementary
#FFF24A #4AB1FF #984AFF
monochromatic
#CFC000 #FFEE0D #FFF24A #FFF687 #FFFBC4

Accessibility & contrast

On white

1.16
#FFF24A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.05
#FFF24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF24A
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF24A#FFFFFF#000000##000000
##FFF24A1.001.1618.0518.05
#FFFFFF1.161.0021.0021.00
#00000018.0521.001.001.00
##00000018.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA2C
Deuteranopia (green-blind)
#FFF156
Tritanopia (blue-blind)
#FFE2D1
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff24a;
/* rgb */ color: rgb(255, 242, 74);
/* oklch */ color: oklch(94.4% 0.178 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff687',
    500: '#fff24a',
    950: '#000000',
  },
}
SCSS
$custom: #fff24a;
$custom-light: #fff687;
$custom-dark: #000000;
JSON
{
  "hex": "#fff24a",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 74
  },
  "hsl": {
    "h": 55.691,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.94356,
    "c": 0.17809,
    "h": 104.9
  },
  "luminance": 0.85259
}

Semantic roles & 50–950 ramp

primary
#FFF24A
secondary
#2430CA
accent
#10E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170C
muted
#87857F

Preview Lab

Preview with #FFF24A

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

Preview Lab → · Contrast checker → · Palette generator →

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