#FFF396#FFF396

#FFF396 is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.4% C 0.115 H 101.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FFF396
RGBrgb(255, 243, 150)
HSLhsl(53, 100%, 79%)
HSVhsv(53, 41%, 100%)
CMYKcmyk(0%, 4.7%, 41.2%, 0%)
CIE-LABlab(94.98, -8.64, 46.22)
CIE-LCHlch(94.98, 47.02, 100.59°)
OKLaboklab(95.37% -0.0237 0.1123)
OKLCHoklch(95.37% 0.115 101.9)
XYZxyz(78.7972, 87.5654, 41.5993)
Luminance0.8756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF396 #96A2FF
analogous
#FFBF96 #FFF396 #D7FF96
triadic
#FFF396 #96FFF3 #F396FF
tetradic
#FFF396 #96FFBF #96A2FF #FF96D7
square
#FFF396 #96FFBF #96A2FF #FF96D7
split-complementary
#FFF396 #96D7FF #BF96FF
monochromatic
#FFE51C #FFEC59 #FFF396 #FFFAD3 #FFFCE0

Accessibility & contrast

On white

1.13
#FFF396 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#FFF396 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF396
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF396#FFFFFF#000000##000000
##FFF3961.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFE7DC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff396;
/* rgb */ color: rgb(255, 243, 150);
/* oklch */ color: oklch(95.4% 0.115 101.9);
Tailwind
colors: {
  custom: {
    50: '#fff6b6',
    500: '#fff396',
    950: '#000000',
  },
}
SCSS
$custom: #fff396;
$custom-light: #fff6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#fff396",
  "rgb": {
    "r": 255,
    "g": 243,
    "b": 150
  },
  "hsl": {
    "h": 53.143,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.9537,
    "c": 0.11479,
    "h": 101.9
  },
  "luminance": 0.87563
}

Semantic roles & 50–950 ramp

primary
#FFF396
secondary
#5867E1
accent
#1AE600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF396

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

Preview Lab → · Contrast checker → · Palette generator →

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