#F8E282#F8E282

#F8E282 is a very light, moderate yellow. Relative luminance 0.760; OKLCH L 91.1% C 0.119 H 96.8°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#F8E282
RGBrgb(248, 226, 130)
HSLhsl(49, 89%, 74%)
HSVhsv(49, 48%, 97%)
CMYKcmyk(0%, 8.9%, 47.6%, 2.7%)
CIE-LABlab(89.84, -4.81, 49.39)
CIE-LCHlch(89.84, 49.62, 95.57°)
OKLaboklab(91.08% -0.0141 0.1183)
OKLCHoklch(91.08% 0.119 96.8)
XYZxyz(69.9391, 75.9635, 32.0931)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E282 #8298F8
analogous
#F8A782 #F8E282 #D3F882
triadic
#F8E282 #82F8E2 #E282F8
tetradic
#F8E282 #82F8A7 #8298F8 #F882D3
square
#F8E282 #82F8A7 #8298F8 #F882D3
split-complementary
#F8E282 #82D3F8 #A782F8
monochromatic
#F2C70E #F5D548 #F8E282 #FBEFBC #FDF8E2

Accessibility & contrast

On white

1.30
#F8E282 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#F8E282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E282
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E282#FFFFFF#000000##000000
##F8E2821.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DE7A
Deuteranopia (green-blind)
#F9E586
Tritanopia (blue-blind)
#FFD5CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f8e282;
/* rgb */ color: rgb(248, 226, 130);
/* oklch */ color: oklch(91.1% 0.119 96.8);
Tailwind
colors: {
  custom: {
    50: '#fceaa8',
    500: '#f8e282',
    950: '#000000',
  },
}
SCSS
$custom: #f8e282;
$custom-light: #fceaa8;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e282",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 130
  },
  "hsl": {
    "h": 48.814,
    "s": 89.394,
    "l": 74.118
  },
  "oklch": {
    "l": 0.91081,
    "c": 0.11911,
    "h": 96.8
  },
  "luminance": 0.75961
}

Semantic roles & 50–950 ramp

primary
#F8E282
secondary
#4963D5
accent
#2BE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#181610
muted
#868480

Preview Lab

Preview with #F8E282

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

Preview Lab → · Contrast checker → · Palette generator →

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