#F5F482#F5F482

#F5F482 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.5% C 0.137 H 108.3°. Best body text is #000000 at 18.15:1 contrast (WCAG AA passes).

Color values

HEX#F5F482
RGBrgb(245, 244, 130)
HSLhsl(59, 85%, 74%)
HSVhsv(59, 47%, 96%)
CMYKcmyk(0%, 0.4%, 46.9%, 3.9%)
CIE-LABlab(94.20, -14.93, 54.62)
CIE-LCHlch(94.20, 56.63, 105.28°)
OKLaboklab(94.48% -0.043 0.1299)
OKLCHoklch(94.48% 0.137 108.3)
XYZxyz(74.0377, 85.7273, 33.7617)
Luminance0.8573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F482 #8283F5
analogous
#F5BA82 #F5F482 #BCF582
triadic
#F5F482 #82F5F4 #F482F5
tetradic
#F5F482 #82F5BA #8283F5 #F582BC
square
#F5F482 #82F5BA #8283F5 #F582BC
split-complementary
#F5F482 #82BCF5 #BA82F5
monochromatic
#EAE813 #F0EF49 #F5F482 #FAF9BB #FDFDE3

Accessibility & contrast

On white

1.16
#F5F482 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.15
#F5F482 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F482
18.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F482#FFFFFF#000000##000000
##F5F4821.001.1618.1518.15
#FFFFFF1.161.0021.0021.00
#00000018.1521.001.001.00
##00000018.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC78
Deuteranopia (green-blind)
#FFF088
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f482;
/* rgb */ color: rgb(245, 244, 130);
/* oklch */ color: oklch(94.5% 0.137 108.3);
Tailwind
colors: {
  custom: {
    50: '#faf7a9',
    500: '#f5f482',
    950: '#000000',
  },
}
SCSS
$custom: #f5f482;
$custom-light: #faf7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f482",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 130
  },
  "hsl": {
    "h": 59.478,
    "s": 85.185,
    "l": 73.529
  },
  "oklch": {
    "l": 0.94477,
    "c": 0.13682,
    "h": 108.3
  },
  "luminance": 0.85726
}

Semantic roles & 50–950 ramp

primary
#F5F482
secondary
#4A4BD1
accent
#06E204
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F5F482

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

Preview Lab → · Contrast checker → · Palette generator →

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