#F5F591#F5F591

#F5F591 is a very light, vivid yellow. Relative luminance 0.868; OKLCH L 94.9% C 0.123 H 108.5°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#F5F591
RGBrgb(245, 245, 145)
HSLhsl(60, 83%, 76%)
HSVhsv(60, 41%, 96%)
CMYKcmyk(0%, 0%, 40.8%, 3.9%)
CIE-LABlab(94.64, -13.99, 48.05)
CIE-LCHlch(94.64, 50.04, 106.23°)
OKLaboklab(94.89% -0.039 0.1163)
OKLCHoklch(94.89% 0.123 108.5)
XYZxyz(75.4206, 86.7632, 39.5565)
Luminance0.8676 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F591 #9191F5
analogous
#F5C391 #F5F591 #C3F591
triadic
#F5F591 #91F5F5 #F591F5
tetradic
#F5F591 #91F5C3 #9191F5 #F591C3
square
#F5F591 #91F5C3 #9191F5 #F591C3
split-complementary
#F5F591 #91C3F5 #C391F5
monochromatic
#EBEB21 #F0F059 #F5F591 #FAFAC9 #FCFCE3

Accessibility & contrast

On white

1.14
#F5F591 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#F5F591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F591
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F591#FFFFFF#000000##000000
##F5F5911.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED89
Deuteranopia (green-blind)
#FFF195
Tritanopia (blue-blind)
#FFEADD
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f591;
/* rgb */ color: rgb(245, 245, 145);
/* oklch */ color: oklch(94.9% 0.123 108.5);
Tailwind
colors: {
  custom: {
    50: '#faf8b3',
    500: '#f5f591',
    950: '#000000',
  },
}
SCSS
$custom: #f5f591;
$custom-light: #faf8b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f591",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 145
  },
  "hsl": {
    "h": 60,
    "s": 83.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.94888,
    "c": 0.12262,
    "h": 108.5
  },
  "luminance": 0.86762
}

Semantic roles & 50–950 ramp

primary
#F5F591
secondary
#5757D3
accent
#06E006
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F591

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

Preview Lab → · Contrast checker → · Palette generator →

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