#F2F682#F2F682

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

Color values

HEX#F2F682
RGBrgb(242, 246, 130)
HSLhsl(62, 87%, 74%)
HSVhsv(62, 47%, 96%)
CMYKcmyk(1.6%, 0%, 47.2%, 3.5%)
CIE-LABlab(94.48, -17.07, 54.92)
CIE-LCHlch(94.48, 57.51, 107.27°)
OKLaboklab(94.65% -0.0489 0.1306)
OKLCHoklch(94.65% 0.139 110.5)
XYZxyz(73.6044, 86.4020, 33.9147)
Luminance0.8640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F682 #8682F6
analogous
#F6C082 #F2F682 #B8F682
triadic
#F2F682 #82F2F6 #F682F2
tetradic
#F2F682 #82F6C0 #8682F6 #F682B8
square
#F2F682 #82F6C0 #8682F6 #F682B8
split-complementary
#F2F682 #82B8F6 #C082F6
monochromatic
#E5ED11 #ECF249 #F2F682 #F8FABB #FCFDE2

Accessibility & contrast

On white

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

On black

18.28
#F2F682 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F682
18.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F682#FFFFFF#000000##000000
##F2F6821.001.1518.2818.28
#FFFFFF1.151.0021.0021.00
#00000018.2821.001.001.00
##00000018.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f682;
/* rgb */ color: rgb(242, 246, 130);
/* oklch */ color: oklch(94.7% 0.139 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9a9',
    500: '#f2f682',
    950: '#000000',
  },
}
SCSS
$custom: #f2f682;
$custom-light: #f8f9a9;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f682",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 130
  },
  "hsl": {
    "h": 62.069,
    "s": 86.567,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9465,
    "c": 0.13945,
    "h": 110.5
  },
  "luminance": 0.864
}

Semantic roles & 50–950 ramp

primary
#F2F682
secondary
#4E4AD3
accent
#02E30A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2F682

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

Preview Lab → · Contrast checker → · Palette generator →

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