#F5F899#F5F899

#F5F899 is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.6% C 0.118 H 110.0°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F5F899
RGBrgb(245, 248, 153)
HSLhsl(62, 87%, 79%)
HSVhsv(62, 38%, 97%)
CMYKcmyk(1.2%, 0%, 38.3%, 2.7%)
CIE-LABlab(95.52, -14.62, 45.28)
CIE-LCHlch(95.52, 47.58, 107.89°)
OKLaboklab(95.62% -0.0402 0.1104)
OKLCHoklch(95.62% 0.118 110)
XYZxyz(76.9743, 88.8486, 43.2254)
Luminance0.8885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F899 #9C99F8
analogous
#F8CB99 #F5F899 #C5F899
triadic
#F5F899 #99F5F8 #F899F5
tetradic
#F5F899 #99F8CB #9C99F8 #F899C5
square
#F5F899 #99F8CB #9C99F8 #F899C5
split-complementary
#F5F899 #99C5F8 #CB99F8
monochromatic
#EAF026 #EFF460 #F5F899 #FBFCD2 #FCFDE2

Accessibility & contrast

On white

1.12
#F5F899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#F5F899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F899
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F899#FFFFFF#000000##000000
##F5F8991.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF092
Deuteranopia (green-blind)
#FFF49D
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5f899;
/* rgb */ color: rgb(245, 248, 153);
/* oklch */ color: oklch(95.6% 0.118 110.0);
Tailwind
colors: {
  custom: {
    50: '#fafab8',
    500: '#f5f899',
    950: '#000000',
  },
}
SCSS
$custom: #f5f899;
$custom-light: #fafab8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f899",
  "rgb": {
    "r": 245,
    "g": 248,
    "b": 153
  },
  "hsl": {
    "h": 61.895,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.95623,
    "c": 0.11751,
    "h": 110
  },
  "luminance": 0.88847
}

Semantic roles & 50–950 ramp

primary
#F5F899
secondary
#615DD8
accent
#02E409
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F5F899

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

Preview Lab → · Contrast checker → · Palette generator →

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