#F6F796#F6F796

#F6F796 is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.5% C 0.119 H 109.0°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F6F796
RGBrgb(246, 247, 150)
HSLhsl(61, 86%, 78%)
HSVhsv(61, 39%, 97%)
CMYKcmyk(0.4%, 0%, 39.3%, 3.1%)
CIE-LABlab(95.29, -14.07, 46.47)
CIE-LCHlch(95.29, 48.55, 106.84°)
OKLaboklab(95.45% -0.0388 0.113)
OKLCHoklch(95.45% 0.119 109)
XYZxyz(76.7729, 88.3179, 41.8510)
Luminance0.8832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F796 #9796F7
analogous
#F7C896 #F6F796 #C5F796
triadic
#F6F796 #96F6F7 #F796F6
tetradic
#F6F796 #96F7C8 #9796F7 #F796C5
square
#F6F796 #96F7C8 #9796F7 #F796C5
split-complementary
#F6F796 #96C5F7 #C896F7
monochromatic
#ECEE24 #F1F35D #F6F796 #FBFBCF #FDFDE3

Accessibility & contrast

On white

1.13
#F6F796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.66
#F6F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F796
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F796#FFFFFF#000000##000000
##F6F7961.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8E
Deuteranopia (green-blind)
#FFF39A
Tritanopia (blue-blind)
#FFECDF
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f796;
/* rgb */ color: rgb(246, 247, 150);
/* oklch */ color: oklch(95.5% 0.119 109.0);
Tailwind
colors: {
  custom: {
    50: '#faf9b6',
    500: '#f6f796',
    950: '#000000',
  },
}
SCSS
$custom: #f6f796;
$custom-light: #faf9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f796",
  "rgb": {
    "r": 246,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 60.619,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95451,
    "c": 0.11947,
    "h": 109
  },
  "luminance": 0.88316
}

Semantic roles & 50–950 ramp

primary
#F6F796
secondary
#5C5BD6
accent
#03E205
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F6F796

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

Preview Lab → · Contrast checker → · Palette generator →

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