#F2F676#F2F676

#F2F676 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.5% C 0.151 H 110.6°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#F2F676
RGBrgb(242, 246, 118)
HSLhsl(62, 88%, 71%)
HSVhsv(62, 52%, 96%)
CMYKcmyk(1.6%, 0%, 52%, 3.5%)
CIE-LABlab(94.35, -18.10, 60.24)
CIE-LCHlch(94.35, 62.90, 106.72°)
OKLaboklab(94.51% -0.053 0.1411)
OKLCHoklch(94.51% 0.151 110.6)
XYZxyz(72.8454, 86.0984, 29.9173)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F676 #7A76F6
analogous
#F6BA76 #F2F676 #B2F676
triadic
#F2F676 #76F2F6 #F676F2
tetradic
#F2F676 #76F6BA #7A76F6 #F676B2
square
#F2F676 #76F6BA #7A76F6 #F676B2
split-complementary
#F2F676 #76B2F6 #BA76F6
monochromatic
#DCE30F #EDF23D #F2F676 #F7FAAF #FCFDE2

Accessibility & contrast

On white

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

On black

18.22
#F2F676 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2F676
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2F676#FFFFFF#000000##000000
##F2F6761.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6A
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f676;
/* rgb */ color: rgb(242, 246, 118);
/* oklch */ color: oklch(94.5% 0.151 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f9a1',
    500: '#f2f676',
    950: '#000000',
  },
}
SCSS
$custom: #f2f676;
$custom-light: #f9f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f676",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 118
  },
  "hsl": {
    "h": 61.875,
    "s": 87.671,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94505,
    "c": 0.15076,
    "h": 110.6
  },
  "luminance": 0.86097
}

Semantic roles & 50–950 ramp

primary
#F2F676
secondary
#443FD1
accent
#01E408
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F676

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

Preview Lab → · Contrast checker → · Palette generator →

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