#F5E599#F5E599

#F5E599 is a very light, moderate yellow. Relative luminance 0.778; OKLCH L 91.8% C 0.097 H 97.7°. Best body text is #000000 at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#F5E599
RGBrgb(245, 229, 153)
HSLhsl(50, 82%, 78%)
HSVhsv(50, 38%, 96%)
CMYKcmyk(0%, 6.5%, 37.6%, 3.9%)
CIE-LABlab(90.67, -5.19, 39.04)
CIE-LCHlch(90.67, 39.39, 97.57°)
OKLaboklab(91.78% -0.0131 0.0961)
OKLCHoklch(91.78% 0.097 97.7)
XYZxyz(71.4266, 77.7531, 41.3762)
Luminance0.7775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E599 #99A9F5
analogous
#F5B799 #F5E599 #D7F599
triadic
#F5E599 #99F5E5 #E599F5
tetradic
#F5E599 #99F5B7 #99A9F5 #F599D7
square
#F5E599 #99F5B7 #99A9F5 #F599D7
split-complementary
#F5E599 #99D7F5 #B799F5
monochromatic
#EAC92A #F0D761 #F5E599 #FAF3D1 #FCF8E3

Accessibility & contrast

On white

1.27
#F5E599 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.55
#F5E599 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E599
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E599#FFFFFF#000000##000000
##F5E5991.001.2716.5516.55
#FFFFFF1.271.0021.0021.00
#00000016.5521.001.001.00
##00000016.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E193
Deuteranopia (green-blind)
#F8E79C
Tritanopia (blue-blind)
#FFDBD2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e599;
/* rgb */ color: rgb(245, 229, 153);
/* oklch */ color: oklch(91.8% 0.097 97.7);
Tailwind
colors: {
  custom: {
    50: '#faedb8',
    500: '#f5e599',
    950: '#000000',
  },
}
SCSS
$custom: #f5e599;
$custom-light: #faedb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e599",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 153
  },
  "hsl": {
    "h": 49.565,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.91776,
    "c": 0.09701,
    "h": 97.7
  },
  "luminance": 0.77751
}

Semantic roles & 50–950 ramp

primary
#F5E599
secondary
#5F73D4
accent
#2CDF07
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #F5E599

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

Preview Lab → · Contrast checker → · Palette generator →

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