#F5E57A#F5E57A

#F5E57A is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.129 H 100.9°. Best body text is #000000 at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#F5E57A
RGBrgb(245, 229, 122)
HSLhsl(52, 86%, 72%)
HSVhsv(52, 50%, 96%)
CMYKcmyk(0%, 6.5%, 50.2%, 3.9%)
CIE-LABlab(90.26, -8.22, 53.64)
CIE-LCHlch(90.26, 54.27, 98.71°)
OKLaboklab(91.32% -0.0245 0.1271)
OKLCHoklch(91.32% 0.129 100.9)
XYZxyz(69.1904, 76.8587, 29.5991)
Luminance0.7686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E57A #7A8AF5
analogous
#F5A87A #F5E57A #C8F57A
triadic
#F5E57A #7AF5E5 #E57AF5
tetradic
#F5E57A #7AF5A8 #7A8AF5 #F57AC8
square
#F5E57A #7AF5A8 #7A8AF5 #F57AC8
split-complementary
#F5E57A #7AC8F5 #A87AF5
monochromatic
#E3C811 #F1DA41 #F5E57A #F9F0B3 #FDF9E3

Accessibility & contrast

On white

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

On black

16.37
#F5E57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E57A
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E57A#FFFFFF#000000##000000
##F5E57A1.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e57a;
/* rgb */ color: rgb(245, 229, 122);
/* oklch */ color: oklch(91.3% 0.129 100.9);
Tailwind
colors: {
  custom: {
    50: '#fbeda3',
    500: '#f5e57a',
    950: '#000000',
  },
}
SCSS
$custom: #f5e57a;
$custom-light: #fbeda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e57a",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 52.195,
    "s": 86.014,
    "l": 71.961
  },
  "oklch": {
    "l": 0.91317,
    "c": 0.12943,
    "h": 100.9
  },
  "luminance": 0.76856
}

Semantic roles & 50–950 ramp

primary
#F5E57A
secondary
#4355D0
accent
#20E303
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E57A

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

Preview Lab → · Contrast checker → · Palette generator →

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