#FFF9CA#FFF9CA

#FFF9CA is a very light, moderate yellow. Relative luminance 0.933; OKLCH L 97.5% C 0.061 H 101.4°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#FFF9CA
RGBrgb(255, 249, 202)
HSLhsl(53, 100%, 90%)
HSVhsv(53, 21%, 100%)
CMYKcmyk(0%, 2.4%, 20.8%, 0%)
CIE-LABlab(97.34, -5.35, 23.33)
CIE-LCHlch(97.34, 23.94, 102.91°)
OKLaboklab(97.52% -0.012 0.0596)
OKLCHoklch(97.52% 0.061 101.4)
XYZxyz(85.7760, 93.2769, 69.3513)
Luminance0.9328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF9CA #CAD0FF
analogous
#FFDFCA #FFF9CA #EAFFCA
triadic
#FFF9CA #CAFFF9 #F9CAFF
tetradic
#FFF9CA #CAFFDF #CAD0FF #FFCAEA
square
#FFF9CA #CAFFDF #CAD0FF #FFCAEA
split-complementary
#FFF9CA #CAEAFF #DFCAFF
monochromatic
#FFEB50 #FFF28D #FFF9CA #FFFCE0 #FFFCE0

Accessibility & contrast

On white

1.07
#FFF9CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.66
#FFF9CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF9CA
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF9CA#FFFFFF#000000##000000
##FFF9CA1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6C7
Deuteranopia (green-blind)
#FFF9CC
Tritanopia (blue-blind)
#FFF2EC
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fff9ca;
/* rgb */ color: rgb(255, 249, 202);
/* oklch */ color: oklch(97.5% 0.061 101.4);
Tailwind
colors: {
  custom: {
    50: '#fffbda',
    500: '#fff9ca',
    950: '#000000',
  },
}
SCSS
$custom: #fff9ca;
$custom-light: #fffbda;
$custom-dark: #000000;
JSON
{
  "hex": "#fff9ca",
  "rgb": {
    "r": 255,
    "g": 249,
    "b": 202
  },
  "hsl": {
    "h": 53.208,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.97518,
    "c": 0.0608,
    "h": 101.4
  },
  "luminance": 0.93276
}

Semantic roles & 50–950 ramp

primary
#FFF9CA
secondary
#848FE9
accent
#1AE600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF9CA

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

Preview Lab → · Contrast checker → · Palette generator →

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