#F5F657#F5F657

#F5F657 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.4% C 0.175 H 109.7°. Best body text is #000000 at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#F5F657
RGBrgb(245, 246, 87)
HSLhsl(60, 90%, 65%)
HSVhsv(60, 65%, 96%)
CMYKcmyk(0.4%, 0%, 64.6%, 3.5%)
CIE-LABlab(94.32, -19.01, 73.19)
CIE-LCHlch(94.32, 75.62, 104.56°)
OKLaboklab(94.45% -0.0589 0.1647)
OKLCHoklch(94.45% 0.175 109.7)
XYZxyz(72.3346, 86.0141, 21.8070)
Luminance0.8601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F657 #5857F6
analogous
#F6A757 #F5F657 #A6F657
triadic
#F5F657 #57F5F6 #F657F5
tetradic
#F5F657 #57F6A7 #5857F6 #F657A6
square
#F5F657 #57F6A7 #5857F6 #F657A6
split-complementary
#F5F657 #57A6F6 #A757F6
monochromatic
#C7C80B #F2F31D #F5F657 #F8F991 #FCFCCB

Accessibility & contrast

On white

1.15
#F5F657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.20
#F5F657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F657
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F657#FFFFFF#000000##000000
##F5F6571.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC41
Deuteranopia (green-blind)
#FFF162
Tritanopia (blue-blind)
#FFE7D6
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f657;
/* rgb */ color: rgb(245, 246, 87);
/* oklch */ color: oklch(94.4% 0.175 109.7);
Tailwind
colors: {
  custom: {
    50: '#fcf88e',
    500: '#f5f657',
    950: '#000000',
  },
}
SCSS
$custom: #f5f657;
$custom-light: #fcf88e;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f657",
  "rgb": {
    "r": 245,
    "g": 246,
    "b": 87
  },
  "hsl": {
    "h": 60.377,
    "s": 89.831,
    "l": 65.294
  },
  "oklch": {
    "l": 0.94447,
    "c": 0.17496,
    "h": 109.7
  },
  "luminance": 0.86012
}

Semantic roles & 50–950 ramp

primary
#F5F657
secondary
#2E2DC4
accent
#00E601
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F5F657

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

Preview Lab → · Contrast checker → · Palette generator →

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