#F2F696#F2F696

#F2F696 is a very light, moderate yellow. Relative luminance 0.870; OKLCH L 94.9% C 0.119 H 110.5°. Best body text is #000000 at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#F2F696
RGBrgb(242, 246, 150)
HSLhsl(63, 84%, 78%)
HSVhsv(63, 39%, 96%)
CMYKcmyk(1.6%, 0%, 39%, 3.5%)
CIE-LABlab(94.73, -15.10, 45.70)
CIE-LCHlch(94.73, 48.13, 108.29°)
OKLaboklab(94.93% -0.0416 0.1113)
OKLCHoklch(94.93% 0.119 110.5)
XYZxyz(75.0796, 86.9921, 41.6843)
Luminance0.8699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F696 #9A96F6
analogous
#F6CA96 #F2F696 #C2F696
triadic
#F2F696 #96F2F6 #F696F2
tetradic
#F2F696 #96F6CA #9A96F6 #F696C2
square
#F2F696 #96F6CA #9A96F6 #F696C2
split-complementary
#F2F696 #96C2F6 #CA96F6
monochromatic
#E4EC25 #EBF15E #F2F696 #F9FBCE #FCFDE3

Accessibility & contrast

On white

1.14
#F2F696 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.40
#F2F696 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F696
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F696#FFFFFF#000000##000000
##F2F6961.001.1418.4018.40
#FFFFFF1.141.0021.0021.00
#00000018.4021.001.001.00
##00000018.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8F
Deuteranopia (green-blind)
#FFF19A
Tritanopia (blue-blind)
#FEEBDE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f696;
/* rgb */ color: rgb(242, 246, 150);
/* oklch */ color: oklch(94.9% 0.119 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9b6',
    500: '#f2f696',
    950: '#000000',
  },
}
SCSS
$custom: #f2f696;
$custom-light: #f8f9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f696",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 150
  },
  "hsl": {
    "h": 62.5,
    "s": 84.211,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94932,
    "c": 0.1188,
    "h": 110.5
  },
  "luminance": 0.86991
}

Semantic roles & 50–950 ramp

primary
#F2F696
secondary
#605BD5
accent
#05E10E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F696

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

Preview Lab → · Contrast checker → · Palette generator →

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