#FFF296#FFF296

#FFF296 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 95.2% C 0.114 H 101.3°. Best body text is #000000 at 18.39:1 contrast (WCAG AA passes).

Color values

HEX#FFF296
RGBrgb(255, 242, 150)
HSLhsl(53, 100%, 79%)
HSVhsv(53, 41%, 100%)
CMYKcmyk(0%, 5.1%, 41.2%, 0%)
CIE-LABlab(94.72, -8.15, 45.90)
CIE-LCHlch(94.72, 46.61, 100.07°)
OKLaboklab(95.17% -0.0222 0.1116)
OKLCHoklch(95.17% 0.114 101.3)
XYZxyz(78.4988, 86.9686, 41.4998)
Luminance0.8697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF296 #96A3FF
analogous
#FFBD96 #FFF296 #D8FF96
triadic
#FFF296 #96FFF2 #F296FF
tetradic
#FFF296 #96FFBD #96A3FF #FF96D8
square
#FFF296 #96FFBD #96A3FF #FF96D8
split-complementary
#FFF296 #96D8FF #BD96FF
monochromatic
#FFE31C #FFEA59 #FFF296 #FFFAD3 #FFFBE0

Accessibility & contrast

On white

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

On black

18.39
#FFF296 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF296
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF296#FFFFFF#000000##000000
##FFF2961.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFE6DB
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fff296;
/* rgb */ color: rgb(255, 242, 150);
/* oklch */ color: oklch(95.2% 0.114 101.3);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fff296',
    950: '#000000',
  },
}
SCSS
$custom: #fff296;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff296",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 150
  },
  "hsl": {
    "h": 52.571,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.9517,
    "c": 0.1138,
    "h": 101.3
  },
  "luminance": 0.86966
}

Semantic roles & 50–950 ramp

primary
#FFF296
secondary
#5869E1
accent
#1CE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF296

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

Preview Lab → · Contrast checker → · Palette generator →

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