#F6F87F#F6F87F

#F6F87F is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.3% C 0.144 H 109.7°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#F6F87F
RGBrgb(246, 248, 127)
HSLhsl(61, 90%, 74%)
HSVhsv(61, 49%, 97%)
CMYKcmyk(0.8%, 0%, 48.8%, 2.7%)
CIE-LABlab(95.27, -16.75, 57.32)
CIE-LCHlch(95.27, 59.71, 106.29°)
OKLaboklab(95.34% -0.0485 0.1355)
OKLCHoklch(95.34% 0.144 109.7)
XYZxyz(75.4058, 88.2616, 33.1385)
Luminance0.8826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F87F #817FF8
analogous
#F8BD7F #F6F87F #B9F87F
triadic
#F6F87F #7FF6F8 #F87FF6
tetradic
#F6F87F #7FF8BD #817FF8 #F87FB9
square
#F6F87F #7FF8BD #817FF8 #F87FB9
split-complementary
#F6F87F #7FB9F8 #BD7FF8
monochromatic
#ECF00D #F2F545 #F6F87F #FAFBB9 #FDFDE2

Accessibility & contrast

On white

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

On black

18.65
#F6F87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F87F
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F87F#FFFFFF#000000##000000
##F6F87F1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f87f;
/* rgb */ color: rgb(246, 248, 127);
/* oklch */ color: oklch(95.3% 0.144 109.7);
Tailwind
colors: {
  custom: {
    50: '#fbfaa7',
    500: '#f6f87f',
    950: '#000000',
  },
}
SCSS
$custom: #f6f87f;
$custom-light: #fbfaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f87f",
  "rgb": {
    "r": 246,
    "g": 248,
    "b": 127
  },
  "hsl": {
    "h": 60.992,
    "s": 89.63,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95341,
    "c": 0.14395,
    "h": 109.7
  },
  "luminance": 0.8826
}

Semantic roles & 50–950 ramp

primary
#F6F87F
secondary
#4946D5
accent
#00E604
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F6F87F

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

Preview Lab → · Contrast checker → · Palette generator →

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