#F5E47A#F5E47A

#F5E47A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 91.1% C 0.129 H 100.3°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#F5E47A
RGBrgb(245, 228, 122)
HSLhsl(52, 86%, 72%)
HSVhsv(52, 50%, 96%)
CMYKcmyk(0%, 6.9%, 50.2%, 3.9%)
CIE-LABlab(90.00, -7.72, 53.34)
CIE-LCHlch(90.00, 53.89, 98.23°)
OKLaboklab(91.12% -0.0231 0.1264)
OKLCHoklch(91.12% 0.129 100.3)
XYZxyz(68.9145, 76.3069, 29.5072)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E47A #7A8BF5
analogous
#F5A77A #F5E47A #C9F57A
triadic
#F5E47A #7AF5E4 #E47AF5
tetradic
#F5E47A #7AF5A7 #7A8BF5 #F57AC9
square
#F5E47A #7AF5A7 #7A8BF5 #F57AC9
split-complementary
#F5E47A #7AC9F5 #A77AF5
monochromatic
#E3C611 #F1D841 #F5E47A #F9F0B3 #FDF9E3

Accessibility & contrast

On white

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

On black

16.26
#F5E47A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E47A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E47A#FFFFFF#000000##000000
##F5E47A1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e47a;
/* rgb */ color: rgb(245, 228, 122);
/* oklch */ color: oklch(91.1% 0.129 100.3);
Tailwind
colors: {
  custom: {
    50: '#fbeca3',
    500: '#f5e47a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e47a;
$custom-light: #fbeca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e47a",
  "rgb": {
    "r": 245,
    "g": 228,
    "b": 122
  },
  "hsl": {
    "h": 51.707,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91115,
    "c": 0.12851,
    "h": 100.3
  },
  "luminance": 0.76304
}

Semantic roles & 50–950 ramp

primary
#F5E47A
secondary
#4356D0
accent
#22E303
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E47A

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

Preview Lab → · Contrast checker → · Palette generator →

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