#F8F282#F8F282

#F8F282 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.3% C 0.134 H 106.0°. Best body text is #000000 at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#F8F282
RGBrgb(248, 242, 130)
HSLhsl(57, 89%, 74%)
HSVhsv(57, 48%, 97%)
CMYKcmyk(0%, 2.4%, 47.6%, 2.7%)
CIE-LABlab(93.92, -12.77, 54.34)
CIE-LCHlch(93.92, 55.82, 103.23°)
OKLaboklab(94.31% -0.037 0.1292)
OKLCHoklch(94.31% 0.134 106)
XYZxyz(74.4946, 85.0745, 33.6116)
Luminance0.8507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F282 #8288F8
analogous
#F8B782 #F8F282 #C3F882
triadic
#F8F282 #82F8F2 #F282F8
tetradic
#F8F282 #82F8B7 #8288F8 #F882C3
square
#F8F282 #82F8B7 #8288F8 #F882C3
split-complementary
#F8F282 #82C3F8 #B782F8
monochromatic
#F2E60E #F5EC48 #F8F282 #FBF8BC #FDFCE2

Accessibility & contrast

On white

1.17
#F8F282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.01
#F8F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F282
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F282#FFFFFF#000000##000000
##F8F2821.001.1718.0118.01
#FFFFFF1.171.0021.0021.00
#00000018.0121.001.001.00
##00000018.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB78
Deuteranopia (green-blind)
#FFF087
Tritanopia (blue-blind)
#FFE5D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f8f282;
/* rgb */ color: rgb(248, 242, 130);
/* oklch */ color: oklch(94.3% 0.134 106.0);
Tailwind
colors: {
  custom: {
    50: '#fcf6a9',
    500: '#f8f282',
    950: '#000000',
  },
}
SCSS
$custom: #f8f282;
$custom-light: #fcf6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f282",
  "rgb": {
    "r": 248,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 56.949,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94311,
    "c": 0.13442,
    "h": 106
  },
  "luminance": 0.85072
}

Semantic roles & 50–950 ramp

primary
#F8F282
secondary
#4950D5
accent
#0CE600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8F282

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

Preview Lab → · Contrast checker → · Palette generator →

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