#F5E77A#F5E77A

#F5E77A is a very light, vivid yellow. Relative luminance 0.780; OKLCH L 91.7% C 0.131 H 102.0°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#F5E77A
RGBrgb(245, 231, 122)
HSLhsl(53, 86%, 72%)
HSVhsv(53, 50%, 96%)
CMYKcmyk(0%, 5.7%, 50.2%, 3.9%)
CIE-LABlab(90.77, -9.21, 54.25)
CIE-LCHlch(90.77, 55.03, 99.64°)
OKLaboklab(91.72% -0.0274 0.1284)
OKLCHoklch(91.72% 0.131 102)
XYZxyz(69.7470, 77.9718, 29.7847)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E77A #7A88F5
analogous
#F5AA7A #F5E77A #C5F57A
triadic
#F5E77A #7AF5E7 #E77AF5
tetradic
#F5E77A #7AF5AA #7A88F5 #F57AC5
square
#F5E77A #7AF5AA #7A88F5 #F57AC5
split-complementary
#F5E77A #7AC5F5 #AA7AF5
monochromatic
#E3CC11 #F1DD41 #F5E77A #F9F1B3 #FDFAE3

Accessibility & contrast

On white

1.27
#F5E77A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.59
#F5E77A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E77A
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E77A#FFFFFF#000000##000000
##F5E77A1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E170
Deuteranopia (green-blind)
#FDE77F
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f5e77a;
/* rgb */ color: rgb(245, 231, 122);
/* oklch */ color: oklch(91.7% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#fbeea3',
    500: '#f5e77a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e77a;
$custom-light: #fbeea3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e77a",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 122
  },
  "hsl": {
    "h": 53.171,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91722,
    "c": 0.13131,
    "h": 102
  },
  "luminance": 0.77969
}

Semantic roles & 50–950 ramp

primary
#F5E77A
secondary
#4353D0
accent
#1CE303
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E77A

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

Preview Lab → · Contrast checker → · Palette generator →

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