#F5ED57#F5ED57

#F5ED57 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.6% C 0.166 H 106.3°. Best body text is #000000 at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#F5ED57
RGBrgb(245, 237, 87)
HSLhsl(57, 89%, 65%)
HSVhsv(57, 64%, 96%)
CMYKcmyk(0%, 3.3%, 64.5%, 3.9%)
CIE-LABlab(91.99, -14.65, 70.78)
CIE-LCHlch(91.99, 72.28, 101.69°)
OKLaboklab(92.59% -0.0466 0.1597)
OKLCHoklch(92.59% 0.166 106.3)
XYZxyz(69.6632, 80.6713, 20.9165)
Luminance0.8067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5ED57 #575FF5
analogous
#F59E57 #F5ED57 #AEF557
triadic
#F5ED57 #57F5ED #ED57F5
tetradic
#F5ED57 #57F59E #575FF5 #F557AE
square
#F5ED57 #57F59E #575FF5 #F557AE
split-complementary
#F5ED57 #57AEF5 #9E57F5
monochromatic
#C6BC0C #F2E71D #F5ED57 #F8F391 #FCF9CB

Accessibility & contrast

On white

1.23
#F5ED57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.13
#F5ED57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5ED57
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5ED57#FFFFFF#000000##000000
##F5ED571.001.2317.1317.13
#FFFFFF1.231.0021.0021.00
#00000017.1321.001.001.00
##00000017.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE543
Deuteranopia (green-blind)
#FFEB60
Tritanopia (blue-blind)
#FFDECE
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f5ed57;
/* rgb */ color: rgb(245, 237, 87);
/* oklch */ color: oklch(92.6% 0.166 106.3);
Tailwind
colors: {
  custom: {
    50: '#fcf28d',
    500: '#f5ed57',
    950: '#000000',
  },
}
SCSS
$custom: #f5ed57;
$custom-light: #fcf28d;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ed57",
  "rgb": {
    "r": 245,
    "g": 237,
    "b": 87
  },
  "hsl": {
    "h": 56.962,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.92587,
    "c": 0.16632,
    "h": 106.3
  },
  "luminance": 0.80669
}

Semantic roles & 50–950 ramp

primary
#F5ED57
secondary
#2D35C3
accent
#0CE500
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F5ED57

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

Preview Lab → · Contrast checker → · Palette generator →

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