#F2F684#F2F684

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

Color values

HEX#F2F684
RGBrgb(242, 246, 132)
HSLhsl(62, 86%, 74%)
HSVhsv(62, 46%, 96%)
CMYKcmyk(1.6%, 0%, 46.3%, 3.5%)
CIE-LABlab(94.51, -16.89, 54.01)
CIE-LCHlch(94.51, 56.59, 107.36°)
OKLaboklab(94.68% -0.0482 0.1287)
OKLCHoklch(94.68% 0.137 110.5)
XYZxyz(73.7399, 86.4562, 34.6285)
Luminance0.8646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F684 #8884F6
analogous
#F6C184 #F2F684 #B9F684
triadic
#F2F684 #84F2F6 #F684F2
tetradic
#F2F684 #84F6C1 #8884F6 #F684B9
square
#F2F684 #84F6C1 #8884F6 #F684B9
split-complementary
#F2F684 #84B9F6 #C184F6
monochromatic
#E6EE12 #ECF24B #F2F684 #F8FABD #FCFDE2

Accessibility & contrast

On white

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

On black

18.29
#F2F684 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F684
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F684#FFFFFF#000000##000000
##F2F6841.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED7A
Deuteranopia (green-blind)
#FFF18A
Tritanopia (blue-blind)
#FFEADB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f684;
/* rgb */ color: rgb(242, 246, 132);
/* oklch */ color: oklch(94.7% 0.137 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9aa',
    500: '#f2f684',
    950: '#000000',
  },
}
SCSS
$custom: #f2f684;
$custom-light: #f8f9aa;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f684",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 132
  },
  "hsl": {
    "h": 62.105,
    "s": 86.364,
    "l": 74.118
  },
  "oklch": {
    "l": 0.94676,
    "c": 0.13748,
    "h": 110.5
  },
  "luminance": 0.86455
}

Semantic roles & 50–950 ramp

primary
#F2F684
secondary
#504BD3
accent
#03E30A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F684

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

Preview Lab → · Contrast checker → · Palette generator →

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