#F6F870#F6F870

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

Color values

HEX#F6F870
RGBrgb(246, 248, 112)
HSLhsl(61, 91%, 71%)
HSVhsv(61, 55%, 97%)
CMYKcmyk(0.8%, 0%, 54.8%, 2.7%)
CIE-LABlab(95.12, -17.95, 63.85)
CIE-LCHlch(95.12, 66.32, 105.70°)
OKLaboklab(95.17% -0.0534 0.1482)
OKLCHoklch(95.17% 0.158 109.8)
XYZxyz(74.5000, 87.8993, 28.3679)
Luminance0.8790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F6F870 #7270F8
analogous
#F8B670 #F6F870 #B2F870
triadic
#F6F870 #70F6F8 #F870F6
tetradic
#F6F870 #70F8B6 #7270F8 #F870B2
square
#F6F870 #70F8B6 #7270F8 #F870B2
split-complementary
#F6F870 #70B2F8 #B670F8
monochromatic
#DFE30B #F2F536 #F6F870 #FAFBAA #FDFEE2

Accessibility & contrast

On white

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

On black

18.58
#F6F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F6F870
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F6F870#FFFFFF#000000##000000
##F6F8701.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF62
Deuteranopia (green-blind)
#FFF378
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f6f870;
/* rgb */ color: rgb(246, 248, 112);
/* oklch */ color: oklch(95.2% 0.158 109.8);
Tailwind
colors: {
  custom: {
    50: '#fcfa9d',
    500: '#f6f870',
    950: '#000000',
  },
}
SCSS
$custom: #f6f870;
$custom-light: #fcfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#f6f870",
  "rgb": {
    "r": 246,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 60.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.9517,
    "c": 0.15752,
    "h": 109.8
  },
  "luminance": 0.87897
}

Semantic roles & 50–950 ramp

primary
#F6F870
secondary
#3C39D3
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F6F870

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

Preview Lab → · Contrast checker → · Palette generator →

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