#F6F877#F6F877

#F6F877 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.2% C 0.151 H 109.8°. Best body text is #000000 at 18.61:1 contrast (WCAG AA passes).

Color values

HEX#F6F877
RGBrgb(246, 248, 119)
HSLhsl(61, 90%, 72%)
HSVhsv(61, 52%, 97%)
CMYKcmyk(0.8%, 0%, 52%, 2.7%)
CIE-LABlab(95.19, -17.41, 60.84)
CIE-LCHlch(95.19, 63.28, 105.97°)
OKLaboklab(95.25% -0.0512 0.1424)
OKLCHoklch(95.25% 0.151 109.8)
XYZxyz(74.9050, 88.0613, 30.5009)
Luminance0.8806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F877 #7977F8
analogous
#F8BA77 #F6F877 #B6F877
triadic
#F6F877 #77F6F8 #F877F6
tetradic
#F6F877 #77F8BA #7977F8 #F877B6
square
#F6F877 #77F8BA #7977F8 #F877B6
split-complementary
#F6F877 #77B6F8 #BA77F8
monochromatic
#E5E90C #F2F53D #F6F877 #FAFBB1 #FDFEE2

Accessibility & contrast

On white

1.13
#F6F877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.61
#F6F877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F877
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F877#FFFFFF#000000##000000
##F6F8771.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6A
Deuteranopia (green-blind)
#FFF37E
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f877;
/* rgb */ color: rgb(246, 248, 119);
/* oklch */ color: oklch(95.2% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbfaa2',
    500: '#f6f877',
    950: '#000000',
  },
}
SCSS
$custom: #f6f877;
$custom-light: #fbfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f877",
  "rgb": {
    "r": 246,
    "g": 248,
    "b": 119
  },
  "hsl": {
    "h": 60.93,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95247,
    "c": 0.15136,
    "h": 109.8
  },
  "luminance": 0.8806
}

Semantic roles & 50–950 ramp

primary
#F6F877
secondary
#423FD4
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F877

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

Preview Lab → · Contrast checker → · Palette generator →

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