#F2F2CA#F2F2CA

#F2F2CA is a very light, muted yellow. Relative luminance 0.866; OKLCH L 95.1% C 0.052 H 107.3°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).

Color values

HEX#F2F2CA
RGBrgb(242, 242, 202)
HSLhsl(60, 61%, 87%)
HSVhsv(60, 17%, 95%)
CMYKcmyk(0%, 0%, 16.5%, 5.1%)
CIE-LABlab(94.59, -6.50, 19.36)
CIE-LCHlch(94.59, 20.42, 108.57°)
OKLaboklab(95.1% -0.0155 0.0498)
OKLCHoklch(95.1% 0.052 107.3)
XYZxyz(79.0299, 86.6465, 68.4268)
Luminance0.8665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F2CA #CACAF2
analogous
#F2DECA #F2F2CA #DEF2CA
triadic
#F2F2CA #CAF2F2 #F2CAF2
tetradic
#F2F2CA #CAF2DE #CACAF2 #F2CADE
square
#F2F2CA #CAF2DE #CACAF2 #F2CADE
split-complementary
#F2F2CA #CADEF2 #DECAF2
monochromatic
#DADA68 #E6E699 #F2F2CA #F9F9E6 #F9F9E6

Accessibility & contrast

On white

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

On black

18.33
#F2F2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F2CA
18.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F2CA#FFFFFF#000000##000000
##F2F2CA1.001.1518.3318.33
#FFFFFF1.151.0021.0021.00
#00000018.3321.001.001.00
##00000018.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f2ca;
/* rgb */ color: rgb(242, 242, 202);
/* oklch */ color: oklch(95.1% 0.052 107.3);
Tailwind
colors: {
  custom: {
    50: '#f6f6da',
    500: '#f2f2ca',
    950: '#000000',
  },
}
SCSS
$custom: #f2f2ca;
$custom-light: #f6f6da;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f2ca",
  "rgb": {
    "r": 242,
    "g": 242,
    "b": 202
  },
  "hsl": {
    "h": 60,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95103,
    "c": 0.05212,
    "h": 107.3
  },
  "luminance": 0.86646
}

Semantic roles & 50–950 ramp

primary
#F2F2CA
secondary
#8F8FD2
accent
#1DC81D
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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