#F2FBA2#F2FBA2

#F2FBA2 is a very light, moderate yellow. Relative luminance 0.905; OKLCH L 96.2% C 0.112 H 113.2°. Best body text is #000000 at 19.10:1 contrast (WCAG AA passes).

Color values

HEX#F2FBA2
RGBrgb(242, 251, 162)
HSLhsl(66, 92%, 81%)
HSVhsv(66, 35%, 98%)
CMYKcmyk(3.6%, 0%, 35.5%, 1.6%)
CIE-LABlab(96.20, -16.21, 41.70)
CIE-LCHlch(96.20, 44.74, 111.24°)
OKLaboklab(96.15% -0.044 0.1026)
OKLCHoklch(96.15% 0.112 113.2)
XYZxyz(77.6372, 90.4812, 47.5501)
Luminance0.9048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FBA2 #ABA2FB
analogous
#FBD7A2 #F2FBA2 #C5FBA2
triadic
#F2FBA2 #A2F2FB #FBA2F2
tetradic
#F2FBA2 #A2FBD7 #ABA2FB #FBA2C5
square
#F2FBA2 #A2FBD7 #ABA2FB #FBA2C5
split-complementary
#F2FBA2 #A2C5FB #D7A2FB
monochromatic
#E2F62D #EAF867 #F2FBA2 #FAFEDD #FBFEE2

Accessibility & contrast

On white

1.10
#F2FBA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.10
#F2FBA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FBA2
19.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FBA2#FFFFFF#000000##000000
##F2FBA21.001.1019.1019.10
#FFFFFF1.101.0021.0021.00
#00000019.1021.001.001.00
##00000019.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF39C
Deuteranopia (green-blind)
#FFF5A6
Tritanopia (blue-blind)
#FCF1E5
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2fba2;
/* rgb */ color: rgb(242, 251, 162);
/* oklch */ color: oklch(96.2% 0.112 113.2);
Tailwind
colors: {
  custom: {
    50: '#f7fcbe',
    500: '#f2fba2',
    950: '#000000',
  },
}
SCSS
$custom: #f2fba2;
$custom-light: #f7fcbe;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fba2",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 162
  },
  "hsl": {
    "h": 66.067,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.9615,
    "c": 0.11167,
    "h": 113.2
  },
  "luminance": 0.9048
}

Semantic roles & 50–950 ramp

primary
#F2FBA2
secondary
#7064DD
accent
#00E617
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #F2FBA2

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

Preview Lab → · Contrast checker → · Palette generator →

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