#F5FA4F#F5FA4F

#F5FA4F is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.184 H 111.1°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#F5FA4F
RGBrgb(245, 250, 79)
HSLhsl(62, 94%, 65%)
HSVhsv(62, 68%, 98%)
CMYKcmyk(2%, 0%, 68.4%, 2%)
CIE-LABlab(95.31, -21.35, 77.11)
CIE-LCHlch(95.31, 80.01, 105.47°)
OKLaboklab(95.22% -0.0662 0.1718)
OKLCHoklch(95.22% 0.184 111.1)
XYZxyz(73.2555, 88.3501, 20.5900)
Luminance0.8835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA4F #544FFA
analogous
#FAA94F #F5FA4F #A0FA4F
triadic
#F5FA4F #4FF5FA #FA4FF5
tetradic
#F5FA4F #4FFAA9 #544FFA #FA4FA0
square
#F5FA4F #4FFAA9 #544FFA #FA4FA0
split-complementary
#F5FA4F #4FA0FA #A94FFA
monochromatic
#C3C906 #F2F813 #F5FA4F #F8FC8B #FCFDC6

Accessibility & contrast

On white

1.12
#F5FA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#F5FA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA4F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA4F#FFFFFF#000000##000000
##F5FA4F1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF33
Deuteranopia (green-blind)
#FFF45C
Tritanopia (blue-blind)
#FFEBD8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f5fa4f;
/* rgb */ color: rgb(245, 250, 79);
/* oklch */ color: oklch(95.2% 0.184 111.1);
Tailwind
colors: {
  custom: {
    50: '#fcfb8a',
    500: '#f5fa4f',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa4f;
$custom-light: #fcfb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa4f",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 79
  },
  "hsl": {
    "h": 61.754,
    "s": 94.475,
    "l": 64.51
  },
  "oklch": {
    "l": 0.95222,
    "c": 0.18409,
    "h": 111.1
  },
  "luminance": 0.88348
}

Semantic roles & 50–950 ramp

primary
#F5FA4F
secondary
#2D28C5
accent
#00E607
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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