#F5E477#F5E477

#F5E477 is a very light, vivid yellow. Relative luminance 0.762; OKLCH L 91.1% C 0.131 H 100.6°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#F5E477
RGBrgb(245, 228, 119)
HSLhsl(52, 86%, 71%)
HSVhsv(52, 51%, 96%)
CMYKcmyk(0%, 6.9%, 51.4%, 3.9%)
CIE-LABlab(89.97, -7.97, 54.70)
CIE-LCHlch(89.97, 55.28, 98.29°)
OKLaboklab(91.08% -0.0241 0.1291)
OKLCHoklch(91.08% 0.131 100.6)
XYZxyz(68.7315, 76.2337, 28.5433)
Luminance0.7623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E477 #7788F5
analogous
#F5A577 #F5E477 #C7F577
triadic
#F5E477 #77F5E4 #E477F5
tetradic
#F5E477 #77F5A5 #7788F5 #F577C7
square
#F5E477 #77F5A5 #7788F5 #F577C7
split-complementary
#F5E477 #77C7F5 #A577F5
monochromatic
#E1C511 #F1D93E #F5E477 #F9EFB0 #FDF9E2

Accessibility & contrast

On white

1.29
#F5E477 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#F5E477 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E477
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E477#FFFFFF#000000##000000
##F5E4771.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE6D
Deuteranopia (green-blind)
#FBE57C
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #f5e477;
/* rgb */ color: rgb(245, 228, 119);
/* oklch */ color: oklch(91.1% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#fbeca1',
    500: '#f5e477',
    950: '#000000',
  },
}
SCSS
$custom: #f5e477;
$custom-light: #fbeca1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e477",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 119
  },
  "hsl": {
    "h": 51.905,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91078,
    "c": 0.13137,
    "h": 100.6
  },
  "luminance": 0.76231
}

Semantic roles & 50–950 ramp

primary
#F5E477
secondary
#4054D0
accent
#21E303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E477

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

Preview Lab → · Contrast checker → · Palette generator →

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