#FFF299#FFF299

#FFF299 is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.2% C 0.111 H 101.0°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#FFF299
RGBrgb(255, 242, 153)
HSLhsl(52, 100%, 80%)
HSVhsv(52, 40%, 100%)
CMYKcmyk(0%, 5.1%, 40%, 0%)
CIE-LABlab(94.77, -7.84, 44.48)
CIE-LCHlch(94.77, 45.17, 100.00°)
OKLaboklab(95.22% -0.0211 0.1085)
OKLCHoklch(95.22% 0.111 101)
XYZxyz(78.7434, 87.0664, 42.7884)
Luminance0.8706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF299 #99A6FF
analogous
#FFBF99 #FFF299 #D9FF99
triadic
#FFF299 #99FFF2 #F299FF
tetradic
#FFF299 #99FFBF #99A6FF #FF99D9
square
#FFF299 #99FFBF #99A6FF #FF99D9
split-complementary
#FFF299 #99D9FF #BF99FF
monochromatic
#FFE21F #FFEA5C #FFF299 #FFFAD6 #FFFBE0

Accessibility & contrast

On white

1.14
#FFF299 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#FFF299 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF299
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF299#FFFFFF#000000##000000
##FFF2991.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED92
Deuteranopia (green-blind)
#FFF39D
Tritanopia (blue-blind)
#FFE6DC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff299;
/* rgb */ color: rgb(255, 242, 153);
/* oklch */ color: oklch(95.2% 0.111 101.0);
Tailwind
colors: {
  custom: {
    50: '#fff6b8',
    500: '#fff299',
    950: '#000000',
  },
}
SCSS
$custom: #fff299;
$custom-light: #fff6b8;
$custom-dark: #000000;
JSON
{
  "hex": "#fff299",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 153
  },
  "hsl": {
    "h": 52.353,
    "s": 100,
    "l": 80
  },
  "oklch": {
    "l": 0.95216,
    "c": 0.11057,
    "h": 101
  },
  "luminance": 0.87064
}

Semantic roles & 50–950 ramp

primary
#FFF299
secondary
#5A6CE2
accent
#1DE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF299

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

Preview Lab → · Contrast checker → · Palette generator →

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