#F5F77A#F5F77A

#F5F77A is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.148 H 109.7°. Best body text is #000000 at 18.47:1 contrast (WCAG AA passes).

Color values

HEX#F5F77A
RGBrgb(245, 247, 122)
HSLhsl(61, 89%, 72%)
HSVhsv(61, 51%, 97%)
CMYKcmyk(0.8%, 0%, 50.6%, 3.1%)
CIE-LABlab(94.88, -17.08, 59.12)
CIE-LCHlch(94.88, 61.53, 106.11°)
OKLaboklab(95% -0.0499 0.139)
OKLCHoklch(95% 0.148 109.7)
XYZxyz(74.4315, 87.3409, 31.3462)
Luminance0.8734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F77A #7C7AF7
analogous
#F7BB7A #F5F77A #B7F77A
triadic
#F5F77A #7AF5F7 #F77AF5
tetradic
#F5F77A #7AF7BB #7C7AF7 #F77AB7
square
#F5F77A #7AF7BB #7C7AF7 #F77AB7
split-complementary
#F5F77A #7AB7F7 #BB7AF7
monochromatic
#E5E90E #F1F440 #F5F77A #F9FAB4 #FDFDE2

Accessibility & contrast

On white

1.14
#F5F77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.47
#F5F77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F77A
18.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F77A#FFFFFF#000000##000000
##F5F77A1.001.1418.4718.47
#FFFFFF1.141.0021.0021.00
#00000018.4721.001.001.00
##00000018.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6E
Deuteranopia (green-blind)
#FFF281
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f77a;
/* rgb */ color: rgb(245, 247, 122);
/* oklch */ color: oklch(95.0% 0.148 109.7);
Tailwind
colors: {
  custom: {
    50: '#fbf9a3',
    500: '#f5f77a',
    950: '#000000',
  },
}
SCSS
$custom: #f5f77a;
$custom-light: #fbf9a3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f77a",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 122
  },
  "hsl": {
    "h": 60.96,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94996,
    "c": 0.1477,
    "h": 109.7
  },
  "luminance": 0.87339
}

Semantic roles & 50–950 ramp

primary
#F5F77A
secondary
#4542D3
accent
#00E504
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F77A

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

Preview Lab → · Contrast checker → · Palette generator →

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