#F7F558#F7F558

#F7F558 is a very light, vivid yellow. Relative luminance 0.858; OKLCH L 94.4% C 0.173 H 108.6°. Best body text is #000000 at 18.16:1 contrast (WCAG AA passes).

Color values

HEX#F7F558
RGBrgb(247, 245, 88)
HSLhsl(59, 91%, 66%)
HSVhsv(59, 64%, 97%)
CMYKcmyk(0%, 0.8%, 64.4%, 3.1%)
CIE-LABlab(94.22, -17.67, 72.76)
CIE-LCHlch(94.22, 74.87, 103.65°)
OKLaboklab(94.41% -0.0551 0.1639)
OKLCHoklch(94.41% 0.173 108.6)
XYZxyz(72.7741, 85.7857, 21.9554)
Luminance0.8578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F558 #585AF7
analogous
#F7A558 #F7F558 #AAF758
triadic
#F7F558 #58F7F5 #F558F7
tetradic
#F7F558 #58F7A5 #585AF7 #F758AA
square
#F7F558 #58F7A5 #585AF7 #F758AA
split-complementary
#F7F558 #58AAF7 #A558F7
monochromatic
#CBC80A #F4F21E #F7F558 #FAF892 #FDFCCD

Accessibility & contrast

On white

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

On black

18.16
#F7F558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F558
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F558#FFFFFF#000000##000000
##F7F5581.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f558;
/* rgb */ color: rgb(247, 245, 88);
/* oklch */ color: oklch(94.4% 0.173 108.6);
Tailwind
colors: {
  custom: {
    50: '#fdf88f',
    500: '#f7f558',
    950: '#000000',
  },
}
SCSS
$custom: #f7f558;
$custom-light: #fdf88f;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f558",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 88
  },
  "hsl": {
    "h": 59.245,
    "s": 90.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.94409,
    "c": 0.17295,
    "h": 108.6
  },
  "luminance": 0.85784
}

Semantic roles & 50–950 ramp

primary
#F7F558
secondary
#2C2EC7
accent
#03E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F7F558

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

Preview Lab → · Contrast checker → · Palette generator →

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