#F2F680#F2F680

#F2F680 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.6% C 0.141 H 110.5°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#F2F680
RGBrgb(242, 246, 128)
HSLhsl(62, 87%, 73%)
HSVhsv(62, 48%, 96%)
CMYKcmyk(1.6%, 0%, 48%, 3.5%)
CIE-LABlab(94.46, -17.25, 55.82)
CIE-LCHlch(94.46, 58.42, 107.17°)
OKLaboklab(94.63% -0.0496 0.1324)
OKLCHoklch(94.63% 0.141 110.5)
XYZxyz(73.4715, 86.3488, 33.2145)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F680 #8480F6
analogous
#F6BF80 #F2F680 #B7F680
triadic
#F2F680 #80F2F6 #F680F2
tetradic
#F2F680 #80F6BF #8480F6 #F680B7
square
#F2F680 #80F6BF #8480F6 #F680B7
split-complementary
#F2F680 #80B7F6 #BF80F6
monochromatic
#E4EB11 #ECF247 #F2F680 #F8FAB9 #FCFDE2

Accessibility & contrast

On white

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

On black

18.27
#F2F680 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F680
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F680#FFFFFF#000000##000000
##F2F6801.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2f680;
/* rgb */ color: rgb(242, 246, 128);
/* oklch */ color: oklch(94.6% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#f8f9a7',
    500: '#f2f680',
    950: '#000000',
  },
}
SCSS
$custom: #f2f680;
$custom-light: #f8f9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f680",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 128
  },
  "hsl": {
    "h": 62.034,
    "s": 86.765,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94625,
    "c": 0.14139,
    "h": 110.5
  },
  "luminance": 0.86347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2F680

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

Preview Lab → · Contrast checker → · Palette generator →

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