#F5FFBA#F5FFBA

#F5FFBA is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.089 H 114.8°. Best body text is #000000 at 19.90:1 contrast (WCAG AA passes).

Color values

HEX#F5FFBA
RGBrgb(245, 255, 186)
HSLhsl(69, 100%, 86%)
HSVhsv(69, 27%, 100%)
CMYKcmyk(3.9%, 0%, 27.1%, 0%)
CIE-LABlab(97.82, -14.10, 31.97)
CIE-LCHlch(97.82, 34.94, 113.80°)
OKLaboklab(97.62% -0.0371 0.0804)
OKLCHoklch(97.62% 0.089 114.8)
XYZxyz(82.2788, 94.4783, 60.3465)
Luminance0.9448 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FFBA #C4BAFF
analogous
#FFE7BA #F5FFBA #D3FFBA
triadic
#F5FFBA #BAF5FF #FFBAF5
tetradic
#F5FFBA #BAFFE7 #C4BAFF #FFBAD3
square
#F5FFBA #BAFFE7 #C4BAFF #FFBAD3
split-complementary
#F5FFBA #BAD3FF #E7BAFF
monochromatic
#E3FF40 #ECFF7D #F5FFBA #FBFFE0 #FBFFE0

Accessibility & contrast

On white

1.06
#F5FFBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.90
#F5FFBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FFBA
19.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FFBA#FFFFFF#000000##000000
##F5FFBA1.001.0619.9019.90
#FFFFFF1.061.0021.0021.00
#00000019.9021.001.001.00
##00000019.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8B5
Deuteranopia (green-blind)
#FFF9BD
Tritanopia (blue-blind)
#FDF7ED
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f5ffba;
/* rgb */ color: rgb(245, 255, 186);
/* oklch */ color: oklch(97.6% 0.089 114.8);
Tailwind
colors: {
  custom: {
    50: '#f9ffcf',
    500: '#f5ffba',
    950: '#000000',
  },
}
SCSS
$custom: #f5ffba;
$custom-light: #f9ffcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f5ffba",
  "rgb": {
    "r": 245,
    "g": 255,
    "b": 186
  },
  "hsl": {
    "h": 68.696,
    "s": 100,
    "l": 86.471
  },
  "oklch": {
    "l": 0.97624,
    "c": 0.08851,
    "h": 114.8
  },
  "luminance": 0.94478
}

Semantic roles & 50–950 ramp

primary
#F5FFBA
secondary
#8776E7
accent
#00E621
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171814
muted
#858683

Preview Lab

Preview with #F5FFBA

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

Preview Lab → · Contrast checker → · Palette generator →

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