#F2F686#F2F686

#F2F686 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.7% C 0.135 H 110.5°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F2F686
RGBrgb(242, 246, 134)
HSLhsl(62, 86%, 75%)
HSVhsv(62, 46%, 96%)
CMYKcmyk(1.6%, 0%, 45.5%, 3.5%)
CIE-LABlab(94.53, -16.70, 53.10)
CIE-LCHlch(94.53, 55.67, 107.46°)
OKLaboklab(94.7% -0.0475 0.1269)
OKLCHoklch(94.7% 0.135 110.5)
XYZxyz(73.8781, 86.5115, 35.3562)
Luminance0.8651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F686 #8A86F6
analogous
#F6C286 #F2F686 #BAF686
triadic
#F2F686 #86F2F6 #F686F2
tetradic
#F2F686 #86F6C2 #8A86F6 #F686BA
square
#F2F686 #86F6C2 #8A86F6 #F686BA
split-complementary
#F2F686 #86BAF6 #C286F6
monochromatic
#E6EE14 #ECF24D #F2F686 #F8FABF #FCFDE3

Accessibility & contrast

On white

1.15
#F2F686 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.30
#F2F686 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F686
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F686#FFFFFF#000000##000000
##F2F6861.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7C
Deuteranopia (green-blind)
#FFF18B
Tritanopia (blue-blind)
#FFEADC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f686;
/* rgb */ color: rgb(242, 246, 134);
/* oklch */ color: oklch(94.7% 0.135 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9ab',
    500: '#f2f686',
    950: '#000000',
  },
}
SCSS
$custom: #f2f686;
$custom-light: #f8f9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f686",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 134
  },
  "hsl": {
    "h": 62.143,
    "s": 86.154,
    "l": 74.51
  },
  "oklch": {
    "l": 0.94703,
    "c": 0.13549,
    "h": 110.5
  },
  "luminance": 0.8651
}

Semantic roles & 50–950 ramp

primary
#F2F686
secondary
#524DD3
accent
#03E30B
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F686

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

Preview Lab → · Contrast checker → · Palette generator →

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