#FFF799#FFF799

#FFF799 is a very light, moderate yellow. Relative luminance 0.901; OKLCH L 96.2% C 0.116 H 104.1°. Best body text is #000000 at 19.02:1 contrast (WCAG AA passes).

Color values

HEX#FFF799
RGBrgb(255, 247, 153)
HSLhsl(55, 100%, 80%)
HSVhsv(55, 40%, 100%)
CMYKcmyk(0%, 3.1%, 40%, 0%)
CIE-LABlab(96.03, -10.31, 46.09)
CIE-LCHlch(96.03, 47.23, 102.61°)
OKLaboklab(96.22% -0.0282 0.1122)
OKLCHoklch(96.22% 0.116 104.1)
XYZxyz(80.2520, 90.0835, 43.2912)
Luminance0.9008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF799 #99A1FF
analogous
#FFC499 #FFF799 #D4FF99
triadic
#FFF799 #99FFF7 #F799FF
tetradic
#FFF799 #99FFC4 #99A1FF #FF99D4
square
#FFF799 #99FFC4 #99A1FF #FF99D4
split-complementary
#FFF799 #99D4FF #C499FF
monochromatic
#FFED1F #FFF25C #FFF799 #FFFCD6 #FFFDE0

Accessibility & contrast

On white

1.10
#FFF799 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.02
#FFF799 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF799
19.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF799#FFFFFF#000000##000000
##FFF7991.001.1019.0219.02
#FFFFFF1.101.0021.0021.00
#00000019.0221.001.001.00
##00000019.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF192
Deuteranopia (green-blind)
#FFF69D
Tritanopia (blue-blind)
#FFEBE0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff799;
/* rgb */ color: rgb(255, 247, 153);
/* oklch */ color: oklch(96.2% 0.116 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff9b8',
    500: '#fff799',
    950: '#000000',
  },
}
SCSS
$custom: #fff799;
$custom-light: #fff9b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff799",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 153
  },
  "hsl": {
    "h": 55.294,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.96219,
    "c": 0.11569,
    "h": 104.1
  },
  "luminance": 0.90081
}

Semantic roles & 50–950 ramp

primary
#FFF799
secondary
#5A65E2
accent
#12E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF799

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

Preview Lab → · Contrast checker → · Palette generator →

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