#F5E799#F5E799

#F5E799 is a very light, moderate yellow. Relative luminance 0.789; OKLCH L 92.2% C 0.099 H 99.3°. Best body text is #000000 at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#F5E799
RGBrgb(245, 231, 153)
HSLhsl(51, 82%, 78%)
HSVhsv(51, 38%, 96%)
CMYKcmyk(0%, 5.7%, 37.6%, 3.9%)
CIE-LABlab(91.17, -6.20, 39.70)
CIE-LCHlch(91.17, 40.18, 98.87°)
OKLaboklab(92.18% -0.016 0.0977)
OKLCHoklch(92.18% 0.099 99.3)
XYZxyz(71.9831, 78.8663, 41.5617)
Luminance0.7886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E799 #99A7F5
analogous
#F5B999 #F5E799 #D5F599
triadic
#F5E799 #99F5E7 #E799F5
tetradic
#F5E799 #99F5B9 #99A7F5 #F599D5
square
#F5E799 #99F5B9 #99A7F5 #F599D5
split-complementary
#F5E799 #99D5F5 #B999F5
monochromatic
#EACD2A #F0DA61 #F5E799 #FAF4D1 #FCF8E3

Accessibility & contrast

On white

1.25
#F5E799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.77
#F5E799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E799
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E799#FFFFFF#000000##000000
##F5E7991.001.2516.7716.77
#FFFFFF1.251.0021.0021.00
#00000016.7721.001.001.00
##00000016.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E393
Deuteranopia (green-blind)
#F9E89C
Tritanopia (blue-blind)
#FFDCD3
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f5e799;
/* rgb */ color: rgb(245, 231, 153);
/* oklch */ color: oklch(92.2% 0.099 99.3);
Tailwind
colors: {
  custom: {
    50: '#faeeb8',
    500: '#f5e799',
    950: '#000000',
  },
}
SCSS
$custom: #f5e799;
$custom-light: #faeeb8;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e799",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 153
  },
  "hsl": {
    "h": 50.87,
    "s": 82.143,
    "l": 78.039
  },
  "oklch": {
    "l": 0.92177,
    "c": 0.09895,
    "h": 99.3
  },
  "luminance": 0.78864
}

Semantic roles & 50–950 ramp

primary
#F5E799
secondary
#5F70D4
accent
#28DF07
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #F5E799

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

Preview Lab → · Contrast checker → · Palette generator →

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