#F5D557#F5D557

#F5D557 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.7% C 0.147 H 94.9°. Best body text is #000000 at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#F5D557
RGBrgb(245, 213, 87)
HSLhsl(48, 89%, 65%)
HSVhsv(48, 64%, 96%)
CMYKcmyk(0%, 13.1%, 64.5%, 3.9%)
CIE-LABlab(85.85, -2.67, 64.33)
CIE-LCHlch(85.85, 64.39, 92.37°)
OKLaboklab(87.72% -0.0125 0.146)
OKLCHoklch(87.72% 0.147 94.9)
XYZxyz(63.1737, 67.6923, 18.7534)
Luminance0.6769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5D557 #5777F5
analogous
#F58657 #F5D557 #C6F557
triadic
#F5D557 #57F5D5 #D557F5
tetradic
#F5D557 #57F586 #5777F5 #F557C6
square
#F5D557 #57F586 #5777F5 #F557C6
split-complementary
#F5D557 #57C6F5 #8657F5
monochromatic
#C6A00C #F2C71D #F5D557 #F8E391 #FCF2CB

Accessibility & contrast

On white

1.44
#F5D557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.54
#F5D557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5D557
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5D557#FFFFFF#000000##000000
##F5D5571.001.4414.5414.54
#FFFFFF1.441.0021.0021.00
#00000014.5421.001.001.00
##00000014.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD148
Deuteranopia (green-blind)
#F2DB5D
Tritanopia (blue-blind)
#FFC6BA
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #f5d557;
/* rgb */ color: rgb(245, 213, 87);
/* oklch */ color: oklch(87.7% 0.147 94.9);
Tailwind
colors: {
  custom: {
    50: '#fce18c',
    500: '#f5d557',
    950: '#000000',
  },
}
SCSS
$custom: #f5d557;
$custom-light: #fce18c;
$custom-dark: #000000;
JSON
{
  "hex": "#f5d557",
  "rgb": {
    "r": 245,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 47.848,
    "s": 88.764,
    "l": 65.098
  },
  "oklch": {
    "l": 0.87719,
    "c": 0.14655,
    "h": 94.9
  },
  "luminance": 0.67689
}

Semantic roles & 50–950 ramp

primary
#F5D557
secondary
#2D4CC3
accent
#2FE500
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #F5D557

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

Preview Lab → · Contrast checker → · Palette generator →

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