#F5E899#F5E899

#F5E899 is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.100 H 100.0°. Best body text is #000000 at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#F5E899
RGBrgb(245, 232, 153)
HSLhsl(52, 82%, 78%)
HSVhsv(52, 38%, 96%)
CMYKcmyk(0%, 5.3%, 37.6%, 3.9%)
CIE-LABlab(91.43, -6.70, 40.03)
CIE-LCHlch(91.43, 40.59, 99.50°)
OKLaboklab(92.38% -0.0174 0.0984)
OKLCHoklch(92.38% 0.1 100)
XYZxyz(72.2638, 79.4276, 41.6552)
Luminance0.7943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E899 #99A6F5
analogous
#F5BA99 #F5E899 #D4F599
triadic
#F5E899 #99F5E8 #E899F5
tetradic
#F5E899 #99F5BA #99A6F5 #F599D4
square
#F5E899 #99F5BA #99A6F5 #F599D4
split-complementary
#F5E899 #99D4F5 #BA99F5
monochromatic
#EACF2A #F0DB61 #F5E899 #FAF5D1 #FCF9E3

Accessibility & contrast

On white

1.24
#F5E899 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.89
#F5E899 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E899
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E899#FFFFFF#000000##000000
##F5E8991.001.2416.8916.89
#FFFFFF1.241.0021.0021.00
#00000016.8921.001.001.00
##00000016.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E393
Deuteranopia (green-blind)
#FAE99C
Tritanopia (blue-blind)
#FFDDD4
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e899;
/* rgb */ color: rgb(245, 232, 153);
/* oklch */ color: oklch(92.4% 0.100 100.0);
Tailwind
colors: {
  custom: {
    50: '#faefb8',
    500: '#f5e899',
    950: '#000000',
  },
}
SCSS
$custom: #f5e899;
$custom-light: #faefb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e899",
  "rgb": {
    "r": 245,
    "g": 232,
    "b": 153
  },
  "hsl": {
    "h": 51.522,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92378,
    "c": 0.09994,
    "h": 100
  },
  "luminance": 0.79426
}

Semantic roles & 50–950 ramp

primary
#F5E899
secondary
#5F6FD4
accent
#25DF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E899

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

Preview Lab → · Contrast checker → · Palette generator →

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