#FFF282#FFF282

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

Color values

HEX#FFF282
RGBrgb(255, 242, 130)
HSLhsl(54, 100%, 75%)
HSVhsv(54, 49%, 100%)
CMYKcmyk(0%, 5.1%, 49%, 0%)
CIE-LABlab(94.47, -10.02, 55.15)
CIE-LCHlch(94.47, 56.05, 100.30°)
OKLaboklab(94.89% -0.0295 0.1309)
OKLCHoklch(94.89% 0.134 102.7)
XYZxyz(77.0235, 86.3785, 33.7302)
Luminance0.8638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF282 #828FFF
analogous
#FFB382 #FFF282 #CDFF82
triadic
#FFF282 #82FFF2 #F282FF
tetradic
#FFF282 #82FFB3 #828FFF #FF82CD
square
#FFF282 #82FFB3 #828FFF #FF82CD
split-complementary
#FFF282 #82CDFF #B382FF
monochromatic
#FFE508 #FFEC45 #FFF282 #FFF8BF #FFFCE0

Accessibility & contrast

On white

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

On black

18.28
#FFF282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF282
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF282#FFFFFF#000000##000000
##FFF2821.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fff282;
/* rgb */ color: rgb(255, 242, 130);
/* oklch */ color: oklch(94.9% 0.134 102.7);
Tailwind
colors: {
  custom: {
    50: '#fff6a9',
    500: '#fff282',
    950: '#000000',
  },
}
SCSS
$custom: #fff282;
$custom-light: #fff6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#fff282",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 53.76,
    "s": 100,
    "l": 75.49
  },
  "oklch": {
    "l": 0.94889,
    "c": 0.13418,
    "h": 102.7
  },
  "luminance": 0.86376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFF282

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

Preview Lab → · Contrast checker → · Palette generator →

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