#F0F2CA#F0F2CA

#F0F2CA is a very light, muted yellow. Relative luminance 0.863; OKLCH L 94.9% C 0.052 H 109.7°. Best body text is #000000 at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#F0F2CA
RGBrgb(240, 242, 202)
HSLhsl(63, 61%, 87%)
HSVhsv(63, 17%, 95%)
CMYKcmyk(0.8%, 0%, 16.5%, 5.1%)
CIE-LABlab(94.44, -7.21, 19.13)
CIE-LCHlch(94.44, 20.44, 110.67°)
OKLaboklab(94.95% -0.0176 0.0492)
OKLCHoklch(94.95% 0.052 109.7)
XYZxyz(78.3471, 86.2944, 68.3948)
Luminance0.8629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F0F2CA #CCCAF2
analogous
#F2E0CA #F0F2CA #DCF2CA
triadic
#F0F2CA #CAF0F2 #F2CAF0
tetradic
#F0F2CA #CAF2E0 #CCCAF2 #F2CADC
square
#F0F2CA #CAF2E0 #CCCAF2 #F2CADC
split-complementary
#F0F2CA #CADCF2 #E0CAF2
monochromatic
#D4DA68 #E2E699 #F0F2CA #F8F9E6 #F8F9E6

Accessibility & contrast

On white

1.15
#F0F2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.26
#F0F2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F0F2CA
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F0F2CA#FFFFFF#000000##000000
##F0F2CA1.001.1518.2618.26
#FFFFFF1.151.0021.0021.00
#00000018.2621.001.001.00
##00000018.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9EEC8
Deuteranopia (green-blind)
#F9F0CB
Tritanopia (blue-blind)
#F6EDE7
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f0f2ca;
/* rgb */ color: rgb(240, 242, 202);
/* oklch */ color: oklch(94.9% 0.052 109.7);
Tailwind
colors: {
  custom: {
    50: '#f5f6da',
    500: '#f0f2ca',
    950: '#000000',
  },
}
SCSS
$custom: #f0f2ca;
$custom-light: #f5f6da;
$custom-dark: #000000;
JSON
{
  "hex": "#f0f2ca",
  "rgb": {
    "r": 240,
    "g": 242,
    "b": 202
  },
  "hsl": {
    "h": 63,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.94947,
    "c": 0.05222,
    "h": 109.7
  },
  "luminance": 0.86294
}

Semantic roles & 50–950 ramp

primary
#F0F2CA
secondary
#928FD2
accent
#1DC826
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F0F2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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