#FFF2CA#FFF2CA

#FFF2CA is a very light, muted yellow. Relative luminance 0.890; OKLCH L 96.1% C 0.054 H 92.1°. Best body text is #000000 at 18.81:1 contrast (WCAG AA passes).

Color values

HEX#FFF2CA
RGBrgb(255, 242, 202)
HSLhsl(45, 100%, 90%)
HSVhsv(45, 21%, 100%)
CMYKcmyk(0%, 5.1%, 20.8%, 0%)
CIE-LABlab(95.59, -1.84, 20.91)
CIE-LCHlch(95.59, 20.99, 95.03°)
OKLaboklab(96.14% -0.002 0.0536)
OKLCHoklch(96.14% 0.054 92.1)
XYZxyz(83.6526, 89.0301, 68.6435)
Luminance0.8903 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF2CA #CAD7FF
analogous
#FFD8CA #FFF2CA #F2FFCA
triadic
#FFF2CA #CAFFF2 #F2CAFF
tetradic
#FFF2CA #CAFFD8 #CAD7FF #FFCAF2
square
#FFF2CA #CAFFD8 #CAD7FF #FFCAF2
split-complementary
#FFF2CA #CAF2FF #D8CAFF
monochromatic
#FFD450 #FFE38D #FFF2CA #FFF7E0 #FFF7E0

Accessibility & contrast

On white

1.12
#FFF2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.81
#FFF2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFF2CA
18.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFF2CA#FFFFFF#000000##000000
##FFF2CA1.001.1218.8118.81
#FFFFFF1.121.0021.0021.00
#00000018.8121.001.001.00
##00000018.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBF0C8
Deuteranopia (green-blind)
#FFF4CB
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fff2ca;
/* rgb */ color: rgb(255, 242, 202);
/* oklch */ color: oklch(96.1% 0.054 92.1);
Tailwind
colors: {
  custom: {
    50: '#fff6da',
    500: '#fff2ca',
    950: '#000000',
  },
}
SCSS
$custom: #fff2ca;
$custom-light: #fff6da;
$custom-dark: #000000;
JSON
{
  "hex": "#fff2ca",
  "rgb": {
    "r": 255,
    "g": 242,
    "b": 202
  },
  "hsl": {
    "h": 45.283,
    "s": 100,
    "l": 89.608
  },
  "oklch": {
    "l": 0.9614,
    "c": 0.05366,
    "h": 92.1
  },
  "luminance": 0.89029
}

Semantic roles & 50–950 ramp

primary
#FFF2CA
secondary
#849DE9
accent
#38E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFF2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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