#F2F697#F2F697

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

Color values

HEX#F2F697
RGBrgb(242, 246, 151)
HSLhsl(63, 84%, 78%)
HSVhsv(63, 39%, 96%)
CMYKcmyk(1.6%, 0%, 38.6%, 3.5%)
CIE-LABlab(94.75, -15.00, 45.23)
CIE-LCHlch(94.75, 47.65, 108.34°)
OKLaboklab(94.95% -0.0413 0.1102)
OKLCHoklch(94.95% 0.118 110.5)
XYZxyz(75.1605, 87.0244, 42.1102)
Luminance0.8702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F697 #9B97F6
analogous
#F6CA97 #F2F697 #C3F697
triadic
#F2F697 #97F2F6 #F697F2
tetradic
#F2F697 #97F6CA #9B97F6 #F697C3
square
#F2F697 #97F6CA #9B97F6 #F697C3
split-complementary
#F2F697 #97C3F6 #CA97F6
monochromatic
#E4EC26 #EBF15F #F2F697 #F9FBCF #FBFDE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F697#FFFFFF#000000##000000
##F2F6971.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)
#FFEE90
Deuteranopia (green-blind)
#FFF19B
Tritanopia (blue-blind)
#FEEBDF
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f2f697;
/* rgb */ color: rgb(242, 246, 151);
/* oklch */ color: oklch(94.9% 0.118 110.5);
Tailwind
colors: {
  custom: {
    50: '#f7f9b7',
    500: '#f2f697',
    950: '#000000',
  },
}
SCSS
$custom: #f2f697;
$custom-light: #f7f9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f697",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 151
  },
  "hsl": {
    "h": 62.526,
    "s": 84.071,
    "l": 77.843
  },
  "oklch": {
    "l": 0.94947,
    "c": 0.11771,
    "h": 110.5
  },
  "luminance": 0.87023
}

Semantic roles & 50–950 ramp

primary
#F2F697
secondary
#615CD5
accent
#05E10E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2F697

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

Preview Lab → · Contrast checker → · Palette generator →

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