#F8E280#F8E280

#F8E280 is a very light, vivid yellow. Relative luminance 0.759; OKLCH L 91.1% C 0.121 H 97.0°. Best body text is #000000 at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#F8E280
RGBrgb(248, 226, 128)
HSLhsl(49, 90%, 74%)
HSVhsv(49, 48%, 97%)
CMYKcmyk(0%, 8.9%, 48.4%, 2.7%)
CIE-LABlab(89.82, -4.99, 50.32)
CIE-LCHlch(89.82, 50.57, 95.67°)
OKLaboklab(91.05% -0.0148 0.1202)
OKLCHoklch(91.05% 0.121 97)
XYZxyz(69.8062, 75.9104, 31.3930)
Luminance0.7591 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E280 #8096F8
analogous
#F8A680 #F8E280 #D2F880
triadic
#F8E280 #80F8E2 #E280F8
tetradic
#F8E280 #80F8A6 #8096F8 #F880D2
square
#F8E280 #80F8A6 #8096F8 #F880D2
split-complementary
#F8E280 #80D2F8 #A680F8
monochromatic
#F0C70D #F5D546 #F8E280 #FBEFBA #FDF8E2

Accessibility & contrast

On white

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

On black

16.18
#F8E280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E280
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E280#FFFFFF#000000##000000
##F8E2801.001.3016.1816.18
#FFFFFF1.301.0021.0021.00
#00000016.1821.001.001.00
##00000016.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8e280;
/* rgb */ color: rgb(248, 226, 128);
/* oklch */ color: oklch(91.1% 0.121 97.0);
Tailwind
colors: {
  custom: {
    50: '#fdeaa7',
    500: '#f8e280',
    950: '#000000',
  },
}
SCSS
$custom: #f8e280;
$custom-light: #fdeaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e280",
  "rgb": {
    "r": 248,
    "g": 226,
    "b": 128
  },
  "hsl": {
    "h": 49,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91053,
    "c": 0.12111,
    "h": 97
  },
  "luminance": 0.75908
}

Semantic roles & 50–950 ramp

primary
#F8E280
secondary
#4761D5
accent
#2AE600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E280

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

Preview Lab → · Contrast checker → · Palette generator →

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