#F5F570#F5F570

#F5F570 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.5% C 0.155 H 109.0°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#F5F570
RGBrgb(245, 245, 112)
HSLhsl(60, 87%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0%, 54.3%, 3.9%)
CIE-LABlab(94.26, -16.89, 62.86)
CIE-LCHlch(94.26, 65.09, 105.04°)
OKLaboklab(94.47% -0.0504 0.1461)
OKLCHoklch(94.47% 0.155 109)
XYZxyz(73.2352, 85.8890, 28.0465)
Luminance0.8589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F570 #7070F5
analogous
#F5B370 #F5F570 #B3F570
triadic
#F5F570 #70F5F5 #F570F5
tetradic
#F5F570 #70F5B3 #7070F5 #F570B3
square
#F5F570 #70F5B3 #7070F5 #F570B3
split-complementary
#F5F570 #70B2F5 #B270F5
monochromatic
#DBDB0F #F1F137 #F5F570 #F9F9A9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.18
#F5F570 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F570
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F570#FFFFFF#000000##000000
##F5F5701.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFF177
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f570;
/* rgb */ color: rgb(245, 245, 112);
/* oklch */ color: oklch(94.5% 0.155 109.0);
Tailwind
colors: {
  custom: {
    50: '#fbf89d',
    500: '#f5f570',
    950: '#000000',
  },
}
SCSS
$custom: #f5f570;
$custom-light: #fbf89d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f570",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 112
  },
  "hsl": {
    "h": 60,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.94471,
    "c": 0.15452,
    "h": 109
  },
  "luminance": 0.85887
}

Semantic roles & 50–950 ramp

primary
#F5F570
secondary
#3A3ACF
accent
#02E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F570

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

Preview Lab → · Contrast checker → · Palette generator →

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