#F5F474#F5F474

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

Color values

HEX#F5F474
RGBrgb(245, 244, 116)
HSLhsl(60, 87%, 71%)
HSVhsv(60, 53%, 96%)
CMYKcmyk(0%, 0.4%, 52.7%, 3.9%)
CIE-LABlab(94.05, -16.10, 60.84)
CIE-LCHlch(94.05, 62.93, 104.82°)
OKLaboklab(94.31% -0.0477 0.1422)
OKLCHoklch(94.31% 0.15 108.6)
XYZxyz(73.1612, 85.3767, 29.1450)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F474 #7475F5
analogous
#F5B374 #F5F474 #B5F574
triadic
#F5F474 #74F5F4 #F474F5
tetradic
#F5F474 #74F5B3 #7475F5 #F574B5
square
#F5F474 #74F5B3 #7475F5 #F574B5
split-complementary
#F5F474 #74B5F5 #B374F5
monochromatic
#DFDD10 #F1EF3B #F5F474 #F9F9AD #FDFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F5F474#FFFFFF#000000##000000
##F5F4741.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)
#FFEB67
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f5f474;
/* rgb */ color: rgb(245, 244, 116);
/* oklch */ color: oklch(94.3% 0.150 108.6);
Tailwind
colors: {
  custom: {
    50: '#fbf7a0',
    500: '#f5f474',
    950: '#000000',
  },
}
SCSS
$custom: #f5f474;
$custom-light: #fbf7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f474",
  "rgb": {
    "r": 245,
    "g": 244,
    "b": 116
  },
  "hsl": {
    "h": 59.535,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94308,
    "c": 0.14995,
    "h": 108.6
  },
  "luminance": 0.85375
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F474

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

Preview Lab → · Contrast checker → · Palette generator →

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