#FFF254#FFF254

#FFF254 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.4% C 0.172 H 104.6°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#FFF254
RGBrgb(255, 242, 84)
HSLhsl(55, 100%, 66%)
HSVhsv(55, 67%, 100%)
CMYKcmyk(0%, 5.1%, 67.1%, 0%)
CIE-LABlab(94.06, -13.18, 74.31)
CIE-LCHlch(94.06, 75.47, 100.06°)
OKLaboklab(94.43% -0.0433 0.1664)
OKLCHoklch(94.43% 0.172 104.6)
XYZxyz(74.5953, 85.4072, 20.9417)
Luminance0.8540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF254 #5461FF
analogous
#FF9D54 #FFF254 #B6FF54
triadic
#FFF254 #54FFF2 #F254FF
tetradic
#FFF254 #54FF9D #5461FF #FF54B6
square
#FFF254 #54FF9D #5461FF #FF54B6
split-complementary
#FFF254 #54B6FF #9D54FF
monochromatic
#D9C800 #FFED17 #FFF254 #FFF791 #FFFBCE

Accessibility & contrast

On white

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

On black

18.08
#FFF254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF254
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF254#FFFFFF#000000##000000
##FFF2541.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA3D
Deuteranopia (green-blind)
#FFF15E
Tritanopia (blue-blind)
#FFE2D2
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #fff254;
/* rgb */ color: rgb(255, 242, 84);
/* oklch */ color: oklch(94.4% 0.172 104.6);
Tailwind
colors: {
  custom: {
    50: '#fff68c',
    500: '#fff254',
    950: '#000000',
  },
}
SCSS
$custom: #fff254;
$custom-light: #fff68c;
$custom-dark: #000000;
JSON
{
  "hex": "#fff254",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 55.439,
    "s": 100,
    "l": 66.471
  },
  "oklch": {
    "l": 0.94425,
    "c": 0.1719,
    "h": 104.6
  },
  "luminance": 0.85404
}

Semantic roles & 50–950 ramp

primary
#FFF254
secondary
#2532D2
accent
#11E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFF254

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

Preview Lab → · Contrast checker → · Palette generator →

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