#F5F558#F5F558

#F5F558 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.2% C 0.173 H 109.3°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#F5F558
RGBrgb(245, 245, 88)
HSLhsl(60, 89%, 65%)
HSVhsv(60, 64%, 96%)
CMYKcmyk(0%, 0%, 64.1%, 3.9%)
CIE-LABlab(94.07, -18.47, 72.55)
CIE-LCHlch(94.07, 74.86, 104.29°)
OKLaboklab(94.25% -0.0573 0.1635)
OKLCHoklch(94.25% 0.173 109.3)
XYZxyz(72.0724, 85.4239, 21.9225)
Luminance0.8542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F558 #5858F5
analogous
#F5A658 #F5F558 #A6F558
triadic
#F5F558 #58F5F5 #F558F5
tetradic
#F5F558 #58F5A6 #5858F5 #F558A6
square
#F5F558 #58F5A6 #5858F5 #F558A6
split-complementary
#F5F558 #58A6F5 #A658F5
monochromatic
#C7C70C #F2F21E #F5F558 #F8F892 #FCFCCB

Accessibility & contrast

On white

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

On black

18.08
#F5F558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F558
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F558#FFFFFF#000000##000000
##F5F5581.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB42
Deuteranopia (green-blind)
#FFF062
Tritanopia (blue-blind)
#FFE6D5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f558;
/* rgb */ color: rgb(245, 245, 88);
/* oklch */ color: oklch(94.2% 0.173 109.3);
Tailwind
colors: {
  custom: {
    50: '#fcf88f',
    500: '#f5f558',
    950: '#000000',
  },
}
SCSS
$custom: #f5f558;
$custom-light: #fcf88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f558",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 88
  },
  "hsl": {
    "h": 60,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.94248,
    "c": 0.17328,
    "h": 109.3
  },
  "luminance": 0.85422
}

Semantic roles & 50–950 ramp

primary
#F5F558
secondary
#2E2EC3
accent
#00E500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F558

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

Preview Lab → · Contrast checker → · Palette generator →

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