#F2FCBA#F2FCBA

#F2FCBA is a very light, moderate yellow. Relative luminance 0.920; OKLCH L 96.8% C 0.085 H 115.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F2FCBA
RGBrgb(242, 252, 186)
HSLhsl(69, 92%, 86%)
HSVhsv(69, 26%, 99%)
CMYKcmyk(4%, 0%, 26.2%, 1.2%)
CIE-LABlab(96.84, -13.71, 30.60)
CIE-LCHlch(96.84, 33.53, 114.14°)
OKLaboklab(96.79% -0.036 0.0771)
OKLCHoklch(96.79% 0.085 115)
XYZxyz(80.2909, 92.0438, 59.9813)
Luminance0.9204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FCBA #C4BAFC
analogous
#FCE5BA #F2FCBA #D1FCBA
triadic
#F2FCBA #BAF2FC #FCBAF2
tetradic
#F2FCBA #BAFCE5 #C4BAFC #FCBAD1
square
#F2FCBA #BAFCE5 #C4BAFC #FCBAD1
split-complementary
#F2FCBA #BAD1FC #E5BAFC
monochromatic
#DCF745 #E7F97F #F2FCBA #F9FEE2 #F9FEE2

Accessibility & contrast

On white

1.08
#F2FCBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#F2FCBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FCBA
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FCBA#FFFFFF#000000##000000
##F2FCBA1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5B6
Deuteranopia (green-blind)
#FFF7BD
Tritanopia (blue-blind)
#FAF5EA
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2fcba;
/* rgb */ color: rgb(242, 252, 186);
/* oklch */ color: oklch(96.8% 0.085 115.0);
Tailwind
colors: {
  custom: {
    50: '#f7fdcf',
    500: '#f2fcba',
    950: '#000000',
  },
}
SCSS
$custom: #f2fcba;
$custom-light: #f7fdcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fcba",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 186
  },
  "hsl": {
    "h": 69.091,
    "s": 91.667,
    "l": 85.882
  },
  "oklch": {
    "l": 0.96787,
    "c": 0.08507,
    "h": 115
  },
  "luminance": 0.92043
}

Semantic roles & 50–950 ramp

primary
#F2FCBA
secondary
#8879E2
accent
#00E623
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2FCBA

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

Preview Lab → · Contrast checker → · Palette generator →

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