#F5E57B#F5E57B

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

Color values

HEX#F5E57B
RGBrgb(245, 229, 123)
HSLhsl(52, 86%, 72%)
HSVhsv(52, 50%, 96%)
CMYKcmyk(0%, 6.5%, 49.8%, 3.9%)
CIE-LABlab(90.27, -8.13, 53.18)
CIE-LCHlch(90.27, 53.80, 98.69°)
OKLaboklab(91.33% -0.0242 0.1262)
OKLCHoklch(91.33% 0.128 100.8)
XYZxyz(69.2527, 76.8836, 29.9271)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E57B #7B8BF5
analogous
#F5A87B #F5E57B #C8F57B
triadic
#F5E57B #7BF5E5 #E57BF5
tetradic
#F5E57B #7BF5A8 #7B8BF5 #F57BC8
square
#F5E57B #7BF5A8 #7B8BF5 #F57BC8
split-complementary
#F5E57B #7BC8F5 #A87BF5
monochromatic
#E4C911 #F1DA42 #F5E57B #F9F0B4 #FDF9E3

Accessibility & contrast

On white

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

On black

16.38
#F5E57B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E57B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E57B#FFFFFF#000000##000000
##F5E57B1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5e57b;
/* rgb */ color: rgb(245, 229, 123);
/* oklch */ color: oklch(91.3% 0.128 100.8);
Tailwind
colors: {
  custom: {
    50: '#fbeda3',
    500: '#f5e57b',
    950: '#000000',
  },
}
SCSS
$custom: #f5e57b;
$custom-light: #fbeda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e57b",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 123
  },
  "hsl": {
    "h": 52.131,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9133,
    "c": 0.12846,
    "h": 100.8
  },
  "luminance": 0.76881
}

Semantic roles & 50–950 ramp

primary
#F5E57B
secondary
#4456D0
accent
#20E203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E57B

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

Preview Lab → · Contrast checker → · Palette generator →

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