#F5F282#F5F282

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

Color values

HEX#F5F282
RGBrgb(245, 242, 130)
HSLhsl(58, 85%, 74%)
HSVhsv(58, 47%, 96%)
CMYKcmyk(0%, 1.2%, 46.9%, 3.9%)
CIE-LABlab(93.68, -13.95, 54.00)
CIE-LCHlch(93.68, 55.78, 104.48°)
OKLaboklab(94.07% -0.0402 0.1285)
OKLCHoklch(94.07% 0.135 107.4)
XYZxyz(73.4392, 84.5303, 33.5622)
Luminance0.8453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F282 #8285F5
analogous
#F5B882 #F5F282 #BEF582
triadic
#F5F282 #82F5F2 #F282F5
tetradic
#F5F282 #82F5B8 #8285F5 #F582BE
square
#F5F282 #82F5B8 #8285F5 #F582BE
split-complementary
#F5F282 #82BEF5 #B882F5
monochromatic
#EAE413 #F0EC49 #F5F282 #FAF8BB #FDFCE3

Accessibility & contrast

On white

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

On black

17.91
#F5F282 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F282
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F282#FFFFFF#000000##000000
##F5F2821.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA78
Deuteranopia (green-blind)
#FFEF87
Tritanopia (blue-blind)
#FFE6D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #f5f282;
/* rgb */ color: rgb(245, 242, 130);
/* oklch */ color: oklch(94.1% 0.135 107.4);
Tailwind
colors: {
  custom: {
    50: '#faf6a8',
    500: '#f5f282',
    950: '#000000',
  },
}
SCSS
$custom: #f5f282;
$custom-light: #faf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f282",
  "rgb": {
    "r": 245,
    "g": 242,
    "b": 130
  },
  "hsl": {
    "h": 58.435,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94067,
    "c": 0.13466,
    "h": 107.4
  },
  "luminance": 0.84528
}

Semantic roles & 50–950 ramp

primary
#F5F282
secondary
#4A4ED1
accent
#0AE204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F282

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

Preview Lab → · Contrast checker → · Palette generator →

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