#F5E57D#F5E57D

#F5E57D is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.127 H 100.7°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#F5E57D
RGBrgb(245, 229, 125)
HSLhsl(52, 86%, 73%)
HSVhsv(52, 49%, 96%)
CMYKcmyk(0%, 6.5%, 49%, 3.9%)
CIE-LABlab(90.29, -7.96, 52.27)
CIE-LCHlch(90.29, 52.87, 98.66°)
OKLaboklab(91.36% -0.0235 0.1243)
OKLCHoklch(91.36% 0.127 100.7)
XYZxyz(69.3792, 76.9342, 30.5932)
Luminance0.7693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E57D #7D8DF5
analogous
#F5A97D #F5E57D #C9F57D
triadic
#F5E57D #7DF5E5 #E57DF5
tetradic
#F5E57D #7DF5A9 #7D8DF5 #F57DC9
square
#F5E57D #7DF5A9 #7D8DF5 #F57DC9
split-complementary
#F5E57D #7DC9F5 #A97DF5
monochromatic
#E6CA12 #F1DA44 #F5E57D #F9F0B6 #FDF9E3

Accessibility & contrast

On white

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

On black

16.39
#F5E57D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E57D
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E57D#FFFFFF#000000##000000
##F5E57D1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF74
Deuteranopia (green-blind)
#FBE682
Tritanopia (blue-blind)
#FFD8CD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e57d;
/* rgb */ color: rgb(245, 229, 125);
/* oklch */ color: oklch(91.4% 0.127 100.7);
Tailwind
colors: {
  custom: {
    50: '#faeda5',
    500: '#f5e57d',
    950: '#000000',
  },
}
SCSS
$custom: #f5e57d;
$custom-light: #faeda5;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e57d",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 125
  },
  "hsl": {
    "h": 52,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.91356,
    "c": 0.12651,
    "h": 100.7
  },
  "luminance": 0.76932
}

Semantic roles & 50–950 ramp

primary
#F5E57D
secondary
#4658D1
accent
#21E203
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E57D

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

Preview Lab → · Contrast checker → · Palette generator →

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