#F5E577#F5E577

#F5E577 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.132 H 101.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F5E577
RGBrgb(245, 229, 119)
HSLhsl(52, 86%, 71%)
HSVhsv(52, 51%, 96%)
CMYKcmyk(0%, 6.5%, 51.4%, 3.9%)
CIE-LABlab(90.22, -8.47, 55.01)
CIE-LCHlch(90.22, 55.65, 98.75°)
OKLaboklab(91.28% -0.0256 0.1298)
OKLCHoklch(91.28% 0.132 101.1)
XYZxyz(69.0074, 76.7855, 28.6353)
Luminance0.7678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E577 #7787F5
analogous
#F5A677 #F5E577 #C6F577
triadic
#F5E577 #77F5E5 #E577F5
tetradic
#F5E577 #77F5A6 #7787F5 #F577C6
square
#F5E577 #77F5A6 #7787F5 #F577C6
split-complementary
#F5E577 #77C6F5 #A677F5
monochromatic
#E1C711 #F1DA3E #F5E577 #F9F0B0 #FDFAE2

Accessibility & contrast

On white

1.28
#F5E577 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F5E577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E577
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E577#FFFFFF#000000##000000
##F5E5771.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF6D
Deuteranopia (green-blind)
#FBE67C
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e577;
/* rgb */ color: rgb(245, 229, 119);
/* oklch */ color: oklch(91.3% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#fbeda1',
    500: '#f5e577',
    950: '#000000',
  },
}
SCSS
$custom: #f5e577;
$custom-light: #fbeda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e577",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 119
  },
  "hsl": {
    "h": 52.381,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9128,
    "c": 0.13229,
    "h": 101.1
  },
  "luminance": 0.76783
}

Semantic roles & 50–950 ramp

primary
#F5E577
secondary
#4053D0
accent
#1FE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E577

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

Preview Lab → · Contrast checker → · Palette generator →

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