#F2F0CA#F2F0CA

#F2F0CA is a very light, muted yellow. Relative luminance 0.855; OKLCH L 94.7% C 0.050 H 104.8°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#F2F0CA
RGBrgb(242, 240, 202)
HSLhsl(57, 61%, 87%)
HSVhsv(57, 17%, 95%)
CMYKcmyk(0%, 0.8%, 16.5%, 5.1%)
CIE-LABlab(94.08, -5.50, 18.65)
CIE-LCHlch(94.08, 19.44, 106.43°)
OKLaboklab(94.7% -0.0127 0.048)
OKLCHoklch(94.7% 0.05 104.8)
XYZxyz(78.4379, 85.4625, 68.2295)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F0CA #CACCF2
analogous
#F2DCCA #F2F0CA #E0F2CA
triadic
#F2F0CA #CAF2F0 #F0CAF2
tetradic
#F2F0CA #CAF2DC #CACCF2 #F2CAE0
square
#F2F0CA #CAF2DC #CACCF2 #F2CAE0
split-complementary
#F2F0CA #CAE0F2 #DCCAF2
monochromatic
#DAD468 #E6E299 #F2F0CA #F9F8E6 #F9F8E6

Accessibility & contrast

On white

1.16
#F2F0CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#F2F0CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F0CA
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F0CA#FFFFFF#000000##000000
##F2F0CA1.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7EDC8
Deuteranopia (green-blind)
#F8EFCB
Tritanopia (blue-blind)
#F8EBE5
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f2f0ca;
/* rgb */ color: rgb(242, 240, 202);
/* oklch */ color: oklch(94.7% 0.050 104.8);
Tailwind
colors: {
  custom: {
    50: '#f6f4da',
    500: '#f2f0ca',
    950: '#000000',
  },
}
SCSS
$custom: #f2f0ca;
$custom-light: #f6f4da;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f0ca",
  "rgb": {
    "r": 242,
    "g": 240,
    "b": 202
  },
  "hsl": {
    "h": 57,
    "s": 60.606,
    "l": 87.059
  },
  "oklch": {
    "l": 0.94703,
    "c": 0.04963,
    "h": 104.8
  },
  "luminance": 0.85462
}

Semantic roles & 50–950 ramp

primary
#F2F0CA
secondary
#8F92D2
accent
#26C81D
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2F0CA

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

Preview Lab → · Contrast checker → · Palette generator →

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