#F5FA5E#F5FA5E

#F5FA5E is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.174 H 111.0°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F5FA5E
RGBrgb(245, 250, 94)
HSLhsl(62, 94%, 67%)
HSVhsv(62, 62%, 98%)
CMYKcmyk(2%, 0%, 62.4%, 2%)
CIE-LABlab(95.41, -20.52, 71.62)
CIE-LCHlch(95.41, 74.50, 105.99°)
OKLaboklab(95.34% -0.0625 0.1624)
OKLCHoklch(95.34% 0.174 111)
XYZxyz(73.8643, 88.5937, 23.7968)
Luminance0.8859 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA5E #635EFA
analogous
#FAB15E #F5FA5E #A7FA5E
triadic
#F5FA5E #5EF5FA #FA5EF5
tetradic
#F5FA5E #5EFAB1 #635EFA #FA5EA7
square
#F5FA5E #5EFAB1 #635EFA #FA5EA7
split-complementary
#F5FA5E #5EA7FA #B15EFA
monochromatic
#D0D707 #F1F823 #F5FA5E #F9FC99 #FCFED5

Accessibility & contrast

On white

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

On black

18.72
#F5FA5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA5E
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA5E#FFFFFF#000000##000000
##F5FA5E1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04A
Deuteranopia (green-blind)
#FFF468
Tritanopia (blue-blind)
#FFEBDA
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa5e;
/* rgb */ color: rgb(245, 250, 94);
/* oklch */ color: oklch(95.3% 0.174 111.0);
Tailwind
colors: {
  custom: {
    50: '#fcfb92',
    500: '#f5fa5e',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa5e;
$custom-light: #fcfb92;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa5e",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 94
  },
  "hsl": {
    "h": 61.923,
    "s": 93.976,
    "l": 67.451
  },
  "oklch": {
    "l": 0.95336,
    "c": 0.17404,
    "h": 111
  },
  "luminance": 0.88592
}

Semantic roles & 50–950 ramp

primary
#F5FA5E
secondary
#302BD1
accent
#00E607
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5FA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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