#F5F57A#F5F57A

#F5F57A is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.6% C 0.146 H 108.9°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F5F57A
RGBrgb(245, 245, 122)
HSLhsl(60, 86%, 72%)
HSVhsv(60, 50%, 96%)
CMYKcmyk(0%, 0%, 50.2%, 3.9%)
CIE-LABlab(94.37, -16.10, 58.51)
CIE-LCHlch(94.37, 60.69, 105.39°)
OKLaboklab(94.58% -0.0471 0.1377)
OKLCHoklch(94.58% 0.146 108.9)
XYZxyz(73.8232, 86.1242, 31.1434)
Luminance0.8612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F57A #7A7AF5
analogous
#F5B87A #F5F57A #B8F57A
triadic
#F5F57A #7AF5F5 #F57AF5
tetradic
#F5F57A #7AF5B8 #7A7AF5 #F57AB8
square
#F5F57A #7AF5B8 #7A7AF5 #F57AB8
split-complementary
#F5F57A #7AB8F5 #B87AF5
monochromatic
#E3E311 #F1F141 #F5F57A #F9F9B3 #FDFDE3

Accessibility & contrast

On white

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

On black

18.22
#F5F57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F57A
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F57A#FFFFFF#000000##000000
##F5F57A1.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6E
Deuteranopia (green-blind)
#FFF180
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f57a;
/* rgb */ color: rgb(245, 245, 122);
/* oklch */ color: oklch(94.6% 0.146 108.9);
Tailwind
colors: {
  custom: {
    50: '#fbf8a3',
    500: '#f5f57a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f57a;
$custom-light: #fbf8a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f57a",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 122
  },
  "hsl": {
    "h": 60,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94583,
    "c": 0.14554,
    "h": 108.9
  },
  "luminance": 0.86122
}

Semantic roles & 50–950 ramp

primary
#F5F57A
secondary
#4343D0
accent
#03E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F57A

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

Preview Lab → · Contrast checker → · Palette generator →

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