#F5F470#F5F470

#F5F470 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.3% C 0.153 H 108.6°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#F5F470
RGBrgb(245, 244, 112)
HSLhsl(60, 87%, 70%)
HSVhsv(60, 54%, 96%)
CMYKcmyk(0%, 0.4%, 54.3%, 3.9%)
CIE-LABlab(94.01, -16.41, 62.56)
CIE-LCHlch(94.01, 64.68, 104.70°)
OKLaboklab(94.27% -0.049 0.1455)
OKLCHoklch(94.27% 0.153 108.6)
XYZxyz(72.9335, 85.2856, 27.9459)
Luminance0.8528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F470 #7071F5
analogous
#F5B270 #F5F470 #B3F570
triadic
#F5F470 #70F5F4 #F470F5
tetradic
#F5F470 #70F5B2 #7071F5 #F570B3
square
#F5F470 #70F5B2 #7071F5 #F570B3
split-complementary
#F5F470 #70B3F5 #B270F5
monochromatic
#DBDA0F #F1F037 #F5F470 #F9F8A9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.06
#F5F470 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F470
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F470#FFFFFF#000000##000000
##F5F4701.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FFF077
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f470;
/* rgb */ color: rgb(245, 244, 112);
/* oklch */ color: oklch(94.3% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf79d',
    500: '#f5f470',
    950: '#000000',
  },
}
SCSS
$custom: #f5f470;
$custom-light: #fbf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f470",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 112
  },
  "hsl": {
    "h": 59.549,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.94265,
    "c": 0.15348,
    "h": 108.6
  },
  "luminance": 0.85284
}

Semantic roles & 50–950 ramp

primary
#F5F470
secondary
#3A3BCF
accent
#04E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F470

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

Preview Lab → · Contrast checker → · Palette generator →

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