#F5F574#F5F574

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

Color values

HEX#F5F574
RGBrgb(245, 245, 116)
HSLhsl(60, 87%, 71%)
HSVhsv(60, 53%, 96%)
CMYKcmyk(0%, 0%, 52.7%, 3.9%)
CIE-LABlab(94.30, -16.59, 61.14)
CIE-LCHlch(94.30, 63.35, 105.18°)
OKLaboklab(94.51% -0.0491 0.1428)
OKLCHoklch(94.51% 0.151 109)
XYZxyz(73.4629, 85.9801, 29.2456)
Luminance0.8598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F574 #7474F5
analogous
#F5B474 #F5F574 #B4F574
triadic
#F5F574 #74F5F5 #F574F5
tetradic
#F5F574 #74F5B4 #7474F5 #F574B4
square
#F5F574 #74F5B4 #7474F5 #F574B4
split-complementary
#F5F574 #74B4F5 #B474F5
monochromatic
#DFDF10 #F1F13B #F5F574 #F9F9AD #FDFDE2

Accessibility & contrast

On white

1.15
#F5F574 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F5F574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F574
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F574#FFFFFF#000000##000000
##F5F5741.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFF17B
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f574;
/* rgb */ color: rgb(245, 245, 116);
/* oklch */ color: oklch(94.5% 0.151 109.0);
Tailwind
colors: {
  custom: {
    50: '#fbf8a0',
    500: '#f5f574',
    950: '#000000',
  },
}
SCSS
$custom: #f5f574;
$custom-light: #fbf8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f574",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 60,
    "s": 86.577,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94514,
    "c": 0.151,
    "h": 109
  },
  "luminance": 0.85978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F5F574

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

Preview Lab → · Contrast checker → · Palette generator →

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