#F2F196#F2F196

#F2F196 is a very light, moderate yellow. Relative luminance 0.840; OKLCH L 93.9% C 0.113 H 107.8°. Best body text is #000000 at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#F2F196
RGBrgb(242, 241, 150)
HSLhsl(59, 78%, 77%)
HSVhsv(59, 38%, 95%)
CMYKcmyk(0%, 0.4%, 38%, 5.1%)
CIE-LABlab(93.45, -12.65, 44.06)
CIE-LCHlch(93.45, 45.84, 106.02°)
OKLaboklab(93.91% -0.0346 0.1075)
OKLCHoklch(93.91% 0.113 107.8)
XYZxyz(73.5793, 83.9914, 41.1842)
Luminance0.8399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F196 #9697F2
analogous
#F2C396 #F2F196 #C5F296
triadic
#F2F196 #96F2F1 #F196F2
tetradic
#F2F196 #96F2C3 #9697F2 #F296C5
square
#F2F196 #96F2C3 #9697F2 #F296C5
split-complementary
#F2F196 #96C5F2 #C396F2
monochromatic
#E5E229 #EBEA60 #F2F196 #F9F8CC #FCFBE4

Accessibility & contrast

On white

1.18
#F2F196 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.80
#F2F196 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F196
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F196#FFFFFF#000000##000000
##F2F1961.001.1817.8017.80
#FFFFFF1.181.0021.0021.00
#00000017.8021.001.001.00
##00000017.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA8F
Deuteranopia (green-blind)
#FFEE9A
Tritanopia (blue-blind)
#FEE6DB
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f2f196;
/* rgb */ color: rgb(242, 241, 150);
/* oklch */ color: oklch(93.9% 0.113 107.8);
Tailwind
colors: {
  custom: {
    50: '#f7f5b6',
    500: '#f2f196',
    950: '#000000',
  },
}
SCSS
$custom: #f2f196;
$custom-light: #f7f5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f196",
  "rgb": {
    "r": 242,
    "g": 241,
    "b": 150
  },
  "hsl": {
    "h": 59.348,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.93908,
    "c": 0.11298,
    "h": 107.8
  },
  "luminance": 0.8399
}

Semantic roles & 50–950 ramp

primary
#F2F196
secondary
#5D5ECF
accent
#0EDA0B
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F196

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

Preview Lab → · Contrast checker → · Palette generator →

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