#FFF280#FFF280

#FFF280 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.136 H 102.8°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#FFF280
RGBrgb(255, 242, 128)
HSLhsl(54, 100%, 75%)
HSVhsv(54, 50%, 100%)
CMYKcmyk(0%, 5.1%, 49.8%, 0%)
CIE-LABlab(94.45, -10.19, 56.05)
CIE-LCHlch(94.45, 56.97, 100.31°)
OKLaboklab(94.86% -0.0302 0.1327)
OKLCHoklch(94.86% 0.136 102.8)
XYZxyz(76.8906, 86.3253, 33.0300)
Luminance0.8632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF280 #808DFF
analogous
#FFB280 #FFF280 #CDFF80
triadic
#FFF280 #80FFF2 #F280FF
tetradic
#FFF280 #80FFB2 #808DFF #FF80CD
square
#FFF280 #80FFB2 #808DFF #FF80CD
split-complementary
#FFF280 #80CDFF #B280FF
monochromatic
#FFE506 #FFEC43 #FFF280 #FFF8BD #FFFCE0

Accessibility & contrast

On white

1.15
#FFF280 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#FFF280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF280
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF280#FFFFFF#000000##000000
##FFF2801.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB76
Deuteranopia (green-blind)
#FFF285
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #fff280;
/* rgb */ color: rgb(255, 242, 128);
/* oklch */ color: oklch(94.9% 0.136 102.8);
Tailwind
colors: {
  custom: {
    50: '#fff6a7',
    500: '#fff280',
    950: '#000000',
  },
}
SCSS
$custom: #fff280;
$custom-light: #fff6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fff280",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 53.858,
    "s": 100,
    "l": 75.098
  },
  "oklch": {
    "l": 0.94864,
    "c": 0.1361,
    "h": 102.8
  },
  "luminance": 0.86323
}

Semantic roles & 50–950 ramp

primary
#FFF280
secondary
#4555DE
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF280

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

Preview Lab → · Contrast checker → · Palette generator →

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