#F9F2CA#F9F2CA

#F9F2CA is a very light, muted yellow. Relative luminance 0.879; OKLCH L 95.7% C 0.052 H 99.1°. Best body text is #000000 at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#F9F2CA
RGBrgb(249, 242, 202)
HSLhsl(51, 80%, 88%)
HSVhsv(51, 19%, 98%)
CMYKcmyk(0%, 2.8%, 18.9%, 2.4%)
CIE-LABlab(95.12, -4.00, 20.18)
CIE-LCHlch(95.12, 20.58, 101.21°)
OKLaboklab(95.66% -0.0083 0.0518)
OKLCHoklch(95.66% 0.052 99.1)
XYZxyz(81.4793, 87.9095, 68.5416)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F2CA #CAD1F9
analogous
#F9DACA #F9F2CA #E8F9CA
triadic
#F9F2CA #CAF9F2 #F2CAF9
tetradic
#F9F2CA #CAF9DA #CAD1F9 #F9CAE8
square
#F9F2CA #CAF9DA #CAD1F9 #F9CAE8
split-complementary
#F9F2CA #CAE8F9 #DACAF9
monochromatic
#EDD75C #F3E593 #F9F2CA #FCF8E4 #FCF8E4

Accessibility & contrast

On white

1.13
#F9F2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.58
#F9F2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F2CA
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F2CA#FFFFFF#000000##000000
##F9F2CA1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEFC8
Deuteranopia (green-blind)
#FCF2CB
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f9f2ca;
/* rgb */ color: rgb(249, 242, 202);
/* oklch */ color: oklch(95.7% 0.052 99.1);
Tailwind
colors: {
  custom: {
    50: '#fbf6da',
    500: '#f9f2ca',
    950: '#000000',
  },
}
SCSS
$custom: #f9f2ca;
$custom-light: #fbf6da;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f2ca",
  "rgb": {
    "r": 249,
    "g": 242,
    "b": 202
  },
  "hsl": {
    "h": 51.064,
    "s": 79.661,
    "l": 88.431
  },
  "oklch": {
    "l": 0.95655,
    "c": 0.05247,
    "h": 99.1
  },
  "luminance": 0.87908
}

Semantic roles & 50–950 ramp

primary
#F9F2CA
secondary
#8A96DE
accent
#29DC0A
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F9F2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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