#FFF281#FFF281

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

Color values

HEX#FFF281
RGBrgb(255, 242, 129)
HSLhsl(54, 100%, 75%)
HSVhsv(54, 49%, 100%)
CMYKcmyk(0%, 5.1%, 49.4%, 0%)
CIE-LABlab(94.46, -10.11, 55.60)
CIE-LCHlch(94.46, 56.51, 100.31°)
OKLaboklab(94.88% -0.0298 0.1318)
OKLCHoklch(94.88% 0.135 102.7)
XYZxyz(76.9567, 86.3517, 33.3784)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF281 #818EFF
analogous
#FFB381 #FFF281 #CDFF81
triadic
#FFF281 #81FFF2 #F281FF
tetradic
#FFF281 #81FFB3 #818EFF #FF81CD
square
#FFF281 #81FFB3 #818EFF #FF81CD
split-complementary
#FFF281 #81CDFF #B381FF
monochromatic
#FFE507 #FFEC44 #FFF281 #FFF8BE #FFFCE0

Accessibility & contrast

On white

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

On black

18.27
#FFF281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF281
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF281#FFFFFF#000000##000000
##FFF2811.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff281;
/* rgb */ color: rgb(255, 242, 129);
/* oklch */ color: oklch(94.9% 0.135 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a8',
    500: '#fff281',
    950: '#000000',
  },
}
SCSS
$custom: #fff281;
$custom-light: #fff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff281",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 53.81,
    "s": 100,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94877,
    "c": 0.13514,
    "h": 102.7
  },
  "luminance": 0.86349
}

Semantic roles & 50–950 ramp

primary
#FFF281
secondary
#4656DE
accent
#18E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFF281

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

Preview Lab → · Contrast checker → · Palette generator →

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