#F5F280#F5F280

#F5F280 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 94.0% C 0.137 H 107.4°. Best body text is #000000 at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#F5F280
RGBrgb(245, 242, 128)
HSLhsl(58, 85%, 73%)
HSVhsv(58, 48%, 96%)
CMYKcmyk(0%, 1.2%, 47.8%, 3.9%)
CIE-LABlab(93.66, -14.13, 54.91)
CIE-LCHlch(93.66, 56.70, 104.43°)
OKLaboklab(94.04% -0.0409 0.1304)
OKLCHoklch(94.04% 0.137 107.4)
XYZxyz(73.3063, 84.4771, 32.8620)
Luminance0.8448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F280 #8083F5
analogous
#F5B880 #F5F280 #BDF580
triadic
#F5F280 #80F5F2 #F280F5
tetradic
#F5F280 #80F5B8 #8083F5 #F580BD
square
#F5F280 #80F5B8 #8083F5 #F580BD
split-complementary
#F5F280 #80BDF5 #B880F5
monochromatic
#E8E312 #F1EC47 #F5F280 #F9F8B9 #FDFCE3

Accessibility & contrast

On white

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

On black

17.90
#F5F280 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F280
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F280#FFFFFF#000000##000000
##F5F2801.001.1717.9017.90
#FFFFFF1.171.0021.0021.00
#00000017.9021.001.001.00
##00000017.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f280;
/* rgb */ color: rgb(245, 242, 128);
/* oklch */ color: oklch(94.0% 0.137 107.4);
Tailwind
colors: {
  custom: {
    50: '#faf6a7',
    500: '#f5f280',
    950: '#000000',
  },
}
SCSS
$custom: #f5f280;
$custom-light: #faf6a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f280",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 128
  },
  "hsl": {
    "h": 58.462,
    "s": 85.401,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94041,
    "c": 0.13662,
    "h": 107.4
  },
  "luminance": 0.84475
}

Semantic roles & 50–950 ramp

primary
#F5F280
secondary
#484CD1
accent
#09E204
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #F5F280

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

Preview Lab → · Contrast checker → · Palette generator →

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