#F2F677#F2F677

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

Color values

HEX#F2F677
RGBrgb(242, 246, 119)
HSLhsl(62, 88%, 72%)
HSVhsv(62, 52%, 96%)
CMYKcmyk(1.6%, 0%, 51.6%, 3.5%)
CIE-LABlab(94.36, -18.01, 59.81)
CIE-LCHlch(94.36, 62.46, 106.76°)
OKLaboklab(94.52% -0.0527 0.1403)
OKLCHoklch(94.52% 0.15 110.6)
XYZxyz(72.9051, 86.1223, 30.2320)
Luminance0.8612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2F677 #7B77F6
analogous
#F6BB77 #F2F677 #B3F677
triadic
#F2F677 #77F2F6 #F677F2
tetradic
#F2F677 #77F6BB #7B77F6 #F677B3
square
#F2F677 #77F6BB #7B77F6 #F677B3
split-complementary
#F2F677 #77B3F6 #BB77F6
monochromatic
#DDE40F #EDF23E #F2F677 #F7FAB0 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2F677#FFFFFF#000000##000000
##F2F6771.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)
#FFED6B
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f2f677;
/* rgb */ color: rgb(242, 246, 119);
/* oklch */ color: oklch(94.5% 0.150 110.6);
Tailwind
colors: {
  custom: {
    50: '#f9f9a1',
    500: '#f2f677',
    950: '#000000',
  },
}
SCSS
$custom: #f2f677;
$custom-light: #f9f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2f677",
  "rgb": {
    "r": 242,
    "g": 246,
    "b": 119
  },
  "hsl": {
    "h": 61.89,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94517,
    "c": 0.14985,
    "h": 110.6
  },
  "luminance": 0.86121
}

Semantic roles & 50–950 ramp

primary
#F2F677
secondary
#4540D1
accent
#01E408
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2F677

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

Preview Lab → · Contrast checker → · Palette generator →

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