#FFF89C#FFF89C

#FFF89C is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.5% C 0.114 H 104.6°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#FFF89C
RGBrgb(255, 248, 156)
HSLhsl(56, 100%, 81%)
HSVhsv(56, 39%, 100%)
CMYKcmyk(0%, 2.7%, 38.8%, 0%)
CIE-LABlab(96.33, -10.49, 45.01)
CIE-LCHlch(96.33, 46.21, 103.12°)
OKLaboklab(96.47% -0.0285 0.1099)
OKLCHoklch(96.47% 0.114 104.6)
XYZxyz(80.8095, 90.7971, 44.7148)
Luminance0.9080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF89C #9CA3FF
analogous
#FFC79C #FFF89C #D4FF9C
triadic
#FFF89C #9CFFF8 #F89CFF
tetradic
#FFF89C #9CFFC7 #9CA3FF #FF9CD4
square
#FFF89C #9CFFC7 #9CA3FF #FF9CD4
split-complementary
#FFF89C #9CD4FF #C79CFF
monochromatic
#FFEF22 #FFF45F #FFF89C #FFFCD9 #FFFDE0

Accessibility & contrast

On white

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

On black

19.16
#FFF89C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF89C
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF89C#FFFFFF#000000##000000
##FFF89C1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF295
Deuteranopia (green-blind)
#FFF7A0
Tritanopia (blue-blind)
#FFEDE1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fff89c;
/* rgb */ color: rgb(255, 248, 156);
/* oklch */ color: oklch(96.5% 0.114 104.6);
Tailwind
colors: {
  custom: {
    50: '#fffaba',
    500: '#fff89c',
    950: '#000000',
  },
}
SCSS
$custom: #fff89c;
$custom-light: #fffaba;
$custom-dark: #000000;
JSON
{
  "hex": "#fff89c",
  "rgb": {
    "r": 255,
    "g": 248,
    "b": 156
  },
  "hsl": {
    "h": 55.758,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.96467,
    "c": 0.11351,
    "h": 104.6
  },
  "luminance": 0.90795
}

Semantic roles & 50–950 ramp

primary
#FFF89C
secondary
#5D66E2
accent
#10E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFF89C

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

Preview Lab → · Contrast checker → · Palette generator →

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