#FFF7CA#FFF7CA

#FFF7CA is a very light, muted yellow. Relative luminance 0.920; OKLCH L 97.1% C 0.059 H 99.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FFF7CA
RGBrgb(255, 247, 202)
HSLhsl(51, 100%, 90%)
HSVhsv(51, 21%, 100%)
CMYKcmyk(0%, 3.1%, 20.8%, 0%)
CIE-LABlab(96.84, -4.35, 22.64)
CIE-LCHlch(96.84, 23.06, 100.88°)
OKLaboklab(97.12% -0.0092 0.0579)
OKLCHoklch(97.12% 0.059 99)
XYZxyz(85.1612, 92.0472, 69.1463)
Luminance0.9205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF7CA #CAD2FF
analogous
#FFDDCA #FFF7CA #EDFFCA
triadic
#FFF7CA #CAFFF7 #F7CAFF
tetradic
#FFF7CA #CAFFDD #CAD2FF #FFCAED
square
#FFF7CA #CAFFDD #CAD2FF #FFCAED
split-complementary
#FFF7CA #CAEDFF #DDCAFF
monochromatic
#FFE550 #FFEE8D #FFF7CA #FFFAE0 #FFFAE0

Accessibility & contrast

On white

1.08
#FFF7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FFF7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF7CA
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF7CA#FFFFFF#000000##000000
##FFF7CA1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4C7
Deuteranopia (green-blind)
#FFF7CB
Tritanopia (blue-blind)
#FFF0EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fff7ca;
/* rgb */ color: rgb(255, 247, 202);
/* oklch */ color: oklch(97.1% 0.059 99.0);
Tailwind
colors: {
  custom: {
    50: '#fff9da',
    500: '#fff7ca',
    950: '#000000',
  },
}
SCSS
$custom: #fff7ca;
$custom-light: #fff9da;
$custom-dark: #000000;
JSON
{
  "hex": "#fff7ca",
  "rgb": {
    "r": 255,
    "g": 247,
    "b": 202
  },
  "hsl": {
    "h": 50.943,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.97123,
    "c": 0.05862,
    "h": 99
  },
  "luminance": 0.92046
}

Semantic roles & 50–950 ramp

primary
#FFF7CA
secondary
#8493E9
accent
#23E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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