#FFF698#FFF698

#FFF698 is a very light, moderate yellow. Relative luminance 0.894; OKLCH L 96.0% C 0.116 H 103.6°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FFF698
RGBrgb(255, 246, 152)
HSLhsl(55, 100%, 80%)
HSVhsv(55, 40%, 100%)
CMYKcmyk(0%, 3.5%, 40.4%, 0%)
CIE-LABlab(95.76, -9.92, 46.24)
CIE-LCHlch(95.76, 47.29, 102.11°)
OKLaboklab(96% -0.0272 0.1125)
OKLCHoklch(96% 0.116 103.6)
XYZxyz(79.8647, 89.4406, 42.7564)
Luminance0.8944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF698 #98A1FF
analogous
#FFC298 #FFF698 #D5FF98
triadic
#FFF698 #98FFF6 #F698FF
tetradic
#FFF698 #98FFC2 #98A1FF #FF98D5
square
#FFF698 #98FFC2 #98A1FF #FF98D5
split-complementary
#FFF698 #98D5FF #C298FF
monochromatic
#FFEB1E #FFF15B #FFF698 #FFFBD5 #FFFCE0

Accessibility & contrast

On white

1.11
#FFF698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.89
#FFF698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF698
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF698#FFFFFF#000000##000000
##FFF6981.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF091
Deuteranopia (green-blind)
#FFF59C
Tritanopia (blue-blind)
#FFEADF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fff698;
/* rgb */ color: rgb(255, 246, 152);
/* oklch */ color: oklch(96.0% 0.116 103.6);
Tailwind
colors: {
  custom: {
    50: '#fff9b7',
    500: '#fff698',
    950: '#000000',
  },
}
SCSS
$custom: #fff698;
$custom-light: #fff9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#fff698",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 152
  },
  "hsl": {
    "h": 54.757,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.96003,
    "c": 0.11572,
    "h": 103.6
  },
  "luminance": 0.89439
}

Semantic roles & 50–950 ramp

primary
#FFF698
secondary
#5965E2
accent
#14E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFF698

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

Preview Lab → · Contrast checker → · Palette generator →

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